News for hackers. Stuff that matters.
Re:Macaron: a high productive and modular web framework in Go by heavenlyhash on Tuesday June 20, 2017 @09:15AM (#14594338)
I've been experimenting with a library called `refmt` which does the Object Mapping part, but explicitly not the Relational part. It's still experimental, but you might like it, and test coverage is shaping up nicely.

The idea is by focusing completely on making Object Mapping consistent and powerfully customizable, and then composing that with either serialization formats or relational storage, we'll get good things. Right now we seem to be at and awkward hump of complexity where every new DB binding ends up implementing their own object mapping, increasing everyone's complexity, overhead, and decreasing reusability of code; refmt will hopefully represent a break from that.

https://github.com/polydawn/refmt

Re:Macaron: a high productive and modular web framework in Go by jdc0589 on Tuesday June 20, 2017 @10:50AM (#14595061)
object mapping is the most important part of the ORM experience in my opinion. Writing DB queries isn't hard or even annoying, manually doing model binding constantly is frickin infuriating.