Ross ROSS = Recommend OSS · open-source software intelligence for agents

go-gorm/gen

Gen: Friendly & Safer GORM powered by Code Generation observed · 2026-08-28

github.com/go-gorm/gen · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 84
  • age_days: 1876
  • days_rel: 8
  • days_push: 7
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

2558 stars · 356 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

GORM Gen is a code-generation library built on top of the GORM ORM for Go. It generates type-safe DAO APIs and query DSL code from database schemas and interface-based SQL templates, eliminating runtime type errors in database access.

Use cases

  • generate type-safe database query code for Go
  • avoid interface{} in GORM queries
  • generate DAO layer from database schema
  • write dynamic raw SQL with type safety
  • convert database tables to Go structs following GORM conventions

When to choose

  • you use GORM and want compile-time type safety for queries
  • you want generated, reusable DAO APIs instead of hand-written query code
  • you need dynamic SQL templates with static typing

When to avoid

  • you don't use GORM or prefer raw SQL drivers
  • your project is too small to justify a code-generation step
  • you need an ORM for a language other than Go

Facets

library · maturity active

orm database type-system databases backend developer-tools web-development go windows cli gorm dao type-safe-queries sql-templates code-generator code-generation linux macos

3 sources

Member repositories

RepositoryRoleHealth v2
go-gorm/genmain95

For agents

markdown · JSON · MCP: product_card(name="go-gorm/gen")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem