Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been eyeing Pop[1], which is a data-mapper/ORMish library wrapping around sqlx[2]; and it happens to contain a new DSL called Fizz[3] that allows for database-independent migrations.

To be honest, I have always tried to avoid Go ORMs after a bad experience with gorm, but the whole package is looking very interesting for reducing the boilerplate involved in Go CRUD applications without having to buy into a complexity risk. It's worth a look.

[1] https://github.com/markbates/pop

[2] https://github.com/jmoiron/sqlx

[3] https://github.com/markbates/pop/tree/master/fizz



I've come to drop ORMs altogether in Go, but I will have a look at this one, just out of curiosity.


What was the bad experience you had with gorm, out of interest?


I don't remember the details, it was around a year and a half ago. But I do remember I had some trouble trying to optimize a few queries with gorm complaining about something and the other guy I was working with didn't understand it much and since we were early on development we scrapped it and went with sqlx.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: