Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For programatically built SQL statements, I like: https://github.com/Masterminds/squirrel
I enjoyed the abstraction layer of gorm up until I started doing some more hairy relationships (an example) and I found the documentation at the time didn't fully explain these edge cases and struct tags (basically +1 to your comment about gorm)
I made a write up related to this topic https://github.com/imran31415/social
I'm a big fan of go-structured-query. I quite like the code generation of tables from a database schema, as well as the core struct mapper feature both for reads/writes to the database, which keep the domain entities clean of any struct tags.