The fantastic ORM library for Golang, aims to be developer friendly.
Full-Featured ORM (almost)
Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
Got tired of too many abstractions over all the features PostgreSQL provides when using an ORM? But rolling your own persistence code is tedious and there's too much boilderplate? This is a code generator to generate a bunch of structs and functions to implement persistence code with a few line and keep all the power PostgreSQL provides.
This is meant to be a Go ORM similar to ActiveRecord.
There are a million Go ORMs, but none of them quite as good as ActiveRecord. sqlboiler comes close, but I don't like the reliance on separate config files, or its lack of a migrator.
Some simple SQL extensions for Go
go-sx provides some extensions to the standard library database/sql package. It is designed for those who wish to use the full power of SQL without a heavy abstraction layer.
ent - An Entity Framework For Go
Simple, yet powerful ORM for modeling and querying data.
Schema As Code - model any graph schema as Go objects.
Easily Traverse Any Graph - run queries, aggregations and traverse any graph
The package based on sqlx, It's simple and keep simple
Because of some disruptive changes, The current major version is upgraded to V2，If you continue with V1, you can check out the v1 branches https://gith
SQLBoiler is a tool to generate a Go ORM tailored to your database schema.
It is a "database-first" ORM as opposed to "code-first" (like gorm/gorp). That means you must first create your database schema. Please use something like
sqlmapper is a light mapper between golang struct and table rows in db
We need to read/write a table in db, like:
CREATE TABLE `test_table` (
`field_key` varchar(64) NOT NULL DEFAULT '',