ORM¶
📕 Articles¶
- Golang ORM Tutorial
- Golang Database Library and ORM Example - Introduction
- Golang Database Library Orm Example - Create
- Golang Database Library Orm Example - List
- Golang Database Library Orm Example - Where IN
- Golang Database Library Orm Example - Get
- Golang Database Library Orm Example - Update
- Golang Database Library Orm Example - Delete
- Golang Database Library Orm Example - One to Many
- Golang Database Library Orm Example - Many to Many
- Golang Database Library Orm Example Dynamic List
- Golang Database Library Orm Example Transaction
- Golang Database Library Orm Example Sql Injection
📺 Videos¶
Libraries¶
- ent/ent - An entity framework for Go
- Kamva/mgm - Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver)
- go-gorm/gorm - The fantastic ORM library for Golang, aims to be developer friendly
- volatiletech/sqlboiler - Generate a Go ORM tailored to your database schema.
- uptrace/bun - SQL-first Golang ORM
- go-jet/jet - Type safe SQL builder with code generation and automatic query result data mapping
- infobloxopen/protoc-gen-gorm - A protobuf compiler plugin designed to generate GORM models and APIs for simple object persistence tasks.
Samples¶
- gmhafiz/golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
- gmhafiz/go8 - Go + Postgres + Chi Router + sqlx + ent + unit testing Starter Kit for API Development