FormatString is a convenience function that formats SQL with default options.
(sql string)
| 173 | |
| 174 | // FormatString is a convenience function that formats SQL with default options. |
| 175 | func FormatString(sql string) (string, error) { |
| 176 | return New(Options{}).Format(sql) |
| 177 | } |