Sqruct Sqruct is my personal tool. Install go get -u github.com/oov/sqruct/cmd/sqruct Usage There is an example. https://github.com/oov/sqruct/tree/master/cmd/sqruct/example