Debian Codegraph @

README.md

raw
1 # GORM
2
3 The fantastic ORM library for Golang, aims to be developer friendly.
4
5 [![go report card](https://goreportcard.com/badge/github.com/go-gorm/gorm "go report card")](https://goreportcard.com/report/github.com/go-gorm/gorm)
6 [![test status](https://github.com/go-gorm/gorm/actions/workflows/tests.yml/badge.svg)](https://github.com/go-gorm/gorm/actions)
7 [![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
8 [![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/gorm.io/gorm?tab=doc)
9
10 ## Overview
11
12 * Full-Featured ORM
13 * Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance)
14 * Hooks (Before/After Create/Save/Update/Delete/Find)
15 * Eager loading with `Preload`, `Joins`
16 * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
17 * Context, Prepared Statement Mode, DryRun Mode
18 * Batch Insert, FindInBatches, Find To Map
19 * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
20 * Composite Primary Key
21 * Auto Migrations
22 * Logger
23 * Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheus…
24 * Every feature comes with tests
25 * Developer Friendly
26
27 ## Getting Started
28
29 * GORM Guides [https://gorm.io](https://gorm.io)
30 * Gen Guides [https://gorm.io/gen/index.html](https://gorm.io/gen/index.html)
31
32 ## Contributing
33
34 [You can help to deliver a better GORM, check out things you can do](https://gorm.io/contribute.html)
35
36 ## Contributors
37
38 [Thank you](https://github.com/go-gorm/gorm/graphs/contributors) for contributing to the GORM framework!
39
40 ## License
41
42 © Jinzhu, 2013~time.Now
43
44 Released under the [MIT License](https://github.com/go-gorm/gorm/blob/master/LICENSE)