I put together a blog post exploring some of the approaches that could be taken for idiomatic query building in Go. The Tl;DR of it is this:
First class functions are an idiomatic way of doing SQL query building in Go. Check out the repository containing some example code I wrote testing this out: https://github.com/andrewpillar/query. I'd be interested in hearing what other people have to say with regards to this subject matter. https://andrewpillar.com/programming/2019/07/13/orms-and-query-building-in-go/ -- Andrew -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8b47ed4c0cc1b5bccea6147878ad9e515909c8e7.camel%40andrewpillar.com. For more options, visit https://groups.google.com/d/optout.