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

awalterschulze/goderive

Derives and generates mundane golang functions that you do not want to maintain yourself observed · 2026-08-28

github.com/awalterschulze/goderive · Go · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

87/100

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

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

  • gap_med: 283.0
  • age_days: 3491
  • days_rel: 29
  • days_push: 9
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1261 stars · 45 forks observed · 2026-08-28

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

goderive is a Go code generator that derives mundane functions (like Equal, Compare, DeepCopy, Sort, Hash) from their parameter types. It parses unimplemented functions with a 'derive' prefix and generates their implementations into a derived.gen.go file.

Use cases

  • generate equality functions for Go structs
  • auto-generate deep copy functions in Go
  • derive sort and hash functions from types
  • avoid manually maintaining boilerplate Go functions
  • generate set operations like union and intersect for Go types
  • derive memoization and function composition helpers

When to choose

  • you write Go and want type-derived boilerplate functions generated automatically
  • you prefer generated code over reflection for performance
  • you want a Haskell-style deriving workflow in Go

When to avoid

  • you prefer runtime reflection or generics-only solutions without code generation
  • your project disallows generated code files
  • you need dynamic behavior that cannot be derived at build time

Facets

cli-tool · maturity active

developer-tools compiler developer-tools programming-languages go cli cross-platform goderive deriving functional-programming generics code-generator boilerplate code-generation automation

1 source

Member repositories

RepositoryRoleHealth v2
awalterschulze/goderivemain87

For agents

markdown · JSON · MCP: product_card(name="awalterschulze/goderive")

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