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

sethvargo/go-envconfig

Some data may be outdated — see provenance labels.

A Go library for parsing struct tags from environment variables. observed · 2026-09-28

github.com/sethvargo/go-envconfig · Go · Apache-2.0 (permissive) observed · 2026-09-28

Health v2 · maintenance only

97/100

  • Activity 96
  • Release rhythm 96
  • Longevity 100
How is this computed?

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

  • gap_med: 4.0
  • age_days: 2330
  • days_rel: 28
  • days_push: 28
  • n_releases_24m: 9

Full methodology

Adoption not part of the score

1234 stars · 70 forks observed · 2026-09-28

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

A Go library that populates struct fields from environment variables using struct tags. It supports required fields, defaults, prefixes, nested structs, and lookup mutations such as secret resolution.

Use cases

  • parse environment variables into a Go config struct
  • load app configuration from env vars with defaults
  • require certain environment variables at startup
  • populate nested config structs with env prefixes
  • resolve secrets from a lookup function during config loading

When to choose

  • you want declarative, struct-tag-based env config in Go
  • you need defaults, required fields, or prefixes for shared config
  • you want a small, focused, well-maintained library

When to avoid

  • your configuration comes from files or remote sources rather than env vars
  • you need complex validation beyond simple required/default handling

Facets

library · maturity stable

configuration-management developer-tools developer-tools backend go cross-platform environment-variables struct-tags config-parsing twelve-factor configuration

1 source

Member repositories

RepositoryRoleHealth v2
sethvargo/go-envconfigmain97

For agents

markdown · JSON · MCP: product_card(name="sethvargo/go-envconfig")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem