04431a7a by supar

Fix function name fmt.Stprintf -> fmt.Sprintf

1 parent b00c42b3
...@@ -273,13 +273,13 @@ func getColumnDefault(fi *fieldInfo) string { ...@@ -273,13 +273,13 @@ func getColumnDefault(fi *fieldInfo) string {
273 273
274 if fi.colDefault { 274 if fi.colDefault {
275 if !fi.initial.Exist() { 275 if !fi.initial.Exist() {
276 v = fmt.Strintf(t, "") 276 v = fmt.Srintf(t, "")
277 } else { 277 } else {
278 v = fmt.Strintf(t, fi.initial.String()) 278 v = fmt.Sprintf(t, fi.initial.String())
279 } 279 }
280 } else { 280 } else {
281 if !fi.null { 281 if !fi.null {
282 v = fmt.Strintf(t, d) 282 v = fmt.Sprintf(t, d)
283 } 283 }
284 } 284 }
285 285
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!