construct : Go generators for low abstraction persistence with PostgreSQL

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.

Related Repos


albrow Zoom A blazing-fast datastore and querying engine for Go built on Redis. Requires Redis version >= 2.8.9 and Go version >= 1.2. The latest version of both is recommended. Full documentation is available on

upper The package for Go is a productive data access layer for Go that provides a common interface to work with different data sources such as PostgreSQL, MySQL, SQLite, MSSQL, QL and MongoDB. go ge

asdine Storm Storm is a simple and powerful toolkit for BoltDB. Basically, Storm provides indexes, a wide range of methods to store and fetch data, an advanced query system, and much more. In addition to the examples below, see also

go-reform reform A better ORM for Go and database/sql. It uses non-empty interfaces, code generation (go generate), and initialization-time reflection as opposed to interface{}, type system sidestepping, and runtime reflection. It

go-gorp Go Relational Persistence Update 2016-11-13: Future versions As many of the maintainers have become busy with other projects, progress toward the ever-elusive v2 has slowed to the point that we're only occasiona

jinzhu GORM The fantastic ORM library for Golang, aims to be developer friendly. Overview Full-Featured ORM (almost) Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism) Hooks (Before/Afte

cosiner gomodel gomodel provide another method to interact with database. Instead of reflection, use bitset represent fields of CRUD, sql/stmt cache and generate model code for you, high performance. Install $ go get gith

gosuri store store is a data-store library for Go that provides a set of platform-independent interfaces to persist and retrieve data. Its primary goal is to wrap existing implementations of such primitives, such as those in package