Re:Show HN: Godb is a simple Go ORM for PostgreSQL, MySQL, S...
by chisleu on Thursday December 15, 2016 @11:22AM
(#13185673)
When your structs can have functions on them that modify the original struct's data, the line between object and "really really object like struct" is very thin.
I appreciate this guy's work, but DSLs make more sense to me than orms in golang.
In the functional world, there obviously aren't objects and structs are not the same things as objects in the OOP sense.
Even then the key part of a ORM is the "R". ORMs allow you to utilize a RDBMS transparently as if you were manipulating the OOP objects.
A couple of projects that this is closer to than Django ORM.
https://github.com/elixir-ecto/ecto -> "Database Wrapper" http://www.yesodweb.com/book/persistent -> "data store interface" https://hackage.haskell.org/package/groundhog -> "Database Mapping"