# GORM

Go ORM library that maps structs to database tables, with associations, hooks, transactions and auto migrations.


Source: https://findsoftware.frbit.cloud/gorm/
Last reviewed: 2026-11-09
Listed since: 2026-11-09

## Record

### Links

- home: https://gorm.io
- repository: https://github.com/go-gorm/gorm
- docs: https://gorm.io/docs/
- x: https://twitter.com/zhangjinzhu
- forum: https://gitter.im/jinzhu/gorm

### Identity

- status: active
- maintainer: Jinzhu
- maintainerType: unknown
- parent: unknown
- firstRelease: 2020
- hqCountry: unknown

### Kind

- category: library
- hosting: binary
- language: go
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: mysql, postgres, sqlite, sqlserver, oracle
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: go get

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-06-25

### Adoption

- githubStargazers: 39988
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 426
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://gorm.io/ (read 2026-11-09)
- urls: https://api.github.com/repos/go-gorm/gorm (read 2026-11-09)
- urls: https://gorm.io/docs/ (read 2026-11-09)
- maintainer: https://github.com/go-gorm/gorm/blob/master/LICENSE (read 2026-11-09)
- language: https://api.github.com/repos/go-gorm/gorm (read 2026-11-09)
- category: https://github.com/go-gorm/gorm/blob/master/README.md (read 2026-11-09)
- runtime: https://github.com/go-gorm/gorm/blob/master/README.md (read 2026-11-09)
- installMethod: https://gorm.io/ (read 2026-11-09)
- databases: https://gorm.io/docs/connecting_to_the_database.html (read 2026-11-09)
- license: https://api.github.com/repos/go-gorm/gorm (read 2026-11-09)
- firstRelease: https://api.github.com/repos/go-gorm/gorm/tags (read 2026-11-09)
- currentMajor: https://api.github.com/repos/go-gorm/gorm/releases (read 2026-11-09)
- latestReleaseDate: https://api.github.com/repos/go-gorm/gorm/releases (read 2026-11-09)
- githubStargazers: https://api.github.com/repos/go-gorm/gorm (read 2026-11-09)
- contributors: https://api.github.com/repos/go-gorm/gorm/contributors?per_page=1 (read 2026-11-09)

## Notes

GORM is a Go ORM library that maps structs to database tables and provides a query API over them. It covers associations (has one, has many, belongs to and many to many), eager loading with `Preload` and `Joins`, transactions with save points, hooks, batch inserts and auto migrations. The project documents a traditional API and a generics API for type-safe queries and operations. Each database is reached through its own driver module, passed to `gorm.Open` with the connection string.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
