Introducing sqlfmt: an SQL gofmt-style formatter

Formatting SQL tends to bring some of the same questions again and again: should we uppercase clause keywords? should we put the separating comma at the start of a line to ease refactoring? how to align the SQL clauses with one-another? Over the years I have grown my own SQL style and didn&rsquo;t find tooling that would implement it. Also, I&rsquo;ve been asked here and there if there is a tool…