Hacker News new | ask | show | jobs
by peterkieltyka 3472 days ago
Also, for others looking for a Go data layer / ORM`ish package, have a look at https://github.com/upper/db

it's been in development for years, its used in production by many companies, and theres been a lot of work to keep it lean and powerful through lots of iteration.

3 comments

This looks like it may be what I was looking for (well initially I wanted a bells and whistles ORM like Django's but this looks better than the other options I've evaluated).
How does it compare to gorp? Been using gorp over the past month to prototype MySQL database schema and insert strategies for a performance system(final implementation might not be in Go). It's worked very well for me so far, but I'm open to alternatives. Some of the pain points are related to Go's sql interface(some of which are being addressed in go 1.8 apparently).
I've had issues with gorm. I find it has quirks that bother enough for me to move away from it. I have yet to find something I'll like more than just pure sql.

Goa is just for generating apis. Not for databases?