Format raw .sql files
Closed this issue · 1 comments
mcandre commented
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!
pongzu commented
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/