kanmu/go-sqlfmt

Format raw .sql files

Closed this issue · 1 comments

Could go-sqlfmt be extended to format direct .sql files? That way, we can format general SQL scripts in addition to inline Go SQL statements!

go-sqlfmt is created for foramatting sql statements only in .go files.
If you want .sql files to be formatted, you can use
https://pypi.org/project/sqlparse/