1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 11:50:55 +00:00

Fix function name fmt.Stprintf -> fmt.Sprintf

This commit is contained in:
supar 2014-10-17 12:59:24 +04:00
parent b00c42b3df
commit 04431a7a15

View File

@ -273,13 +273,13 @@ func getColumnDefault(fi *fieldInfo) string {
if fi.colDefault {
if !fi.initial.Exist() {
v = fmt.Strintf(t, "")
v = fmt.Srintf(t, "")
} else {
v = fmt.Strintf(t, fi.initial.String())
v = fmt.Sprintf(t, fi.initial.String())
}
} else {
if !fi.null {
v = fmt.Strintf(t, d)
v = fmt.Sprintf(t, d)
}
}