Awesome Open Source
Awesome Open Source


GoDoc Build Status Go Report Card Maintainability Codecov Gitter chat

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

Getting Started



Released under the MIT License

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Go (198,701
Hacktoberfest (38,005
Golang (33,653
Mysql (12,547
Database (9,782
Postgresql (8,038
Sql (7,334
Orm (2,113
Repository Pattern (462
Help Wanted (328
Database Migrations (206
Related Projects