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
1 changed files with 3 additions and 3 deletions

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)
}
}