We released a tool for generating Go types&#x2F;funcs for databases&#x2F;queries that might help you with this:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;knq&#x2F;xo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;knq&#x2F;xo</a><p>(FWIW I completely agree the added mental overhead for ORMs are not necessary)