Commit 04431a7a authored by supar's avatar supar

Fix function name fmt.Stprintf -> fmt.Sprintf

parent b00c42b3
......@@ -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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment