# gorp

Go library that maps structs to database tables and provides insert, update, delete and select helpers over database/sql.

STUB. This software has no release or pre-release in four years, or its project site no longer shows it, so it is not part of the register, not counted and not indexed. It will be checked again.

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

## Record

### Links

- repository: https://github.com/go-gorp/gorp
- docs: https://pkg.go.dev/github.com/go-gorp/gorp/v3
- forum: https://gitter.im/go-gorp/gorp

### Identity

- status: stub
- maintainer: James Cooper
- maintainerType: unknown
- parent: unknown
- firstRelease: 2013
- hqCountry: unknown

### Kind

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

### Content

- contentStore: not applicable
- databases: mysql, postgres, sqlite, oracle, sqlserver
- 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: 3
- latestReleaseDate: 2019-11-27

### Adoption

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

### Sources

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

## Notes

gorp is a Go library that binds struct fields to table columns, by tag or by API, and generates the insert, update, delete and get statements for them. It runs on `database/sql`, so a program supplies its own driver, and each database has a dialect that produces the statements in that database's syntax. Raw SQL can be bound to structs and slices, with positional or named parameters, and registered structs can create their tables for unit tests.

## Worth knowing

The README says its author hesitates to call gorp an ORM, because gorp does not know the relationships between structs. It also says development is not very active right now, and that Oracle and SQL Server support is not covered by CI.

---

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
