(arg string)
| 149 | } |
| 150 | |
| 151 | func clean(arg string) string { |
| 152 | arg = strings.TrimSpace(arg) |
| 153 | arg = strings.Replace(arg, "\"any\"", "any", -1) |
| 154 | arg = strings.Replace(arg, "\"char\"", "char", -1) |
| 155 | arg = strings.Replace(arg, "\"timestamp\"", "char", -1) |
| 156 | return arg |
| 157 | } |
| 158 | |
| 159 | // writeFormattedGo executes `tmpl` with `data` as its context to the file `destPath` |
| 160 | func writeFormattedGo(tmpl *template.Template, data any, destPath string) error { |
no test coverage detected