Modern Database Access Layer for Golang.
REL is golang orm-ish database layer for layered architecture. It's testable and comes with its own test library. REL also features extendable query builder that allows you to write query using builder or plain sql.
- Testable repository with builtin reltest package.
- Seamless nested transactions.
- Elegant, yet extendable query builder with mix of syntactic sugar.
- Supports Eager loading.
- Composite Primary Key.
- Multi adapter.
- Soft Deletion.
- Pagination.
- Schema Migration.
go get github.com/go-rel/rel
- Guides https://go-rel.github.io
- gin-example - Todo Backend using Gin and REL
- go-todo-backend - Todo Backend using Chi and REL
- iris-example - Todo Backend using Iris and REL
Released under the MIT License