Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/go-rel/rel
:gem: Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
https://github.com/go-rel/rel
database database-migration golang hacktoberfest help-wanted mysql orm postgresql repository-pattern sql
Last synced: 1 day ago
JSON representation
:gem: Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
- Host: GitHub
- URL: https://github.com/go-rel/rel
- Owner: go-rel
- License: mit
- Created: 2019-10-06T07:08:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T05:09:10.000Z (4 months ago)
- Last Synced: 2024-10-29T16:20:42.884Z (10 days ago)
- Topics: database, database-migration, golang, hacktoberfest, help-wanted, mysql, orm, postgresql, repository-pattern, sql
- Language: Go
- Homepage: https://go-rel.github.io/
- Size: 1.59 MB
- Stars: 764
- Watchers: 14
- Forks: 57
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: changeset.go
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-go - rel - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API. (ORM / HTTP Clients)
- zero-alloc-awesome-go - rel - Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API. (ORM / HTTP Clients)
- go-awesome - REL - Modern database access layer for Go (Open source library / Database)
- awesome-go-extra - rel - Testable, Extendable and Crafted Into a Clean and Elegant API|557|51|18|2019-10-06T07:08:01Z|2022-08-23T23:21:29Z| (ORM / HTTP Clients)
README
# REL
[![GoDoc](https://godoc.org/github.com/go-rel/rel?status.svg)](https://godoc.org/github.com/go-rel/rel)
[![Build Status](https://github.com/go-rel/rel/workflows/Build/badge.svg)](https://github.com/go-rel/rel/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/go-rel/rel)](https://goreportcard.com/report/github.com/go-rel/rel)
[![Maintainability](https://api.codeclimate.com/v1/badges/194611cc82f02edcda6e/maintainability)](https://codeclimate.com/github/go-rel/rel/maintainability)
[![Codecov](https://codecov.io/gh/go-rel/rel/branch/master/graph/badge.svg?token=0P505E1IWB)](https://codecov.io/gh/go-rel/rel)
[![Gitter chat](https://badges.gitter.im/go-rel/rel.png)](https://gitter.im/go-rel/rel)> 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.
## Features
- 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.## Install
```bash
go get github.com/go-rel/rel
```## Getting Started
- Guides [https://go-rel.github.io](https://go-rel.github.io)
## Examples
- [gin-example](https://github.com/go-rel/gin-example) - Todo Backend using Gin and REL
- [go-todo-backend](https://github.com/Fs02/go-todo-backend) - Todo Backend using Chi and REL
- [iris-example](https://github.com/iris-contrib/go-rel-iris-example) - Todo Backend using Iris and REL## License
Released under the [MIT License](https://github.com/go-rel/rel/blob/master/LICENSE)