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

bytedance/go-tagexpr

An interesting go struct tag expression syntax for field validation, etc. observed · 2026-08-28

github.com/bytedance/go-tagexpr · Go · Apache-2.0 (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived

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: n/a
  • age_days: 2784
  • days_rel: n/a
  • days_push: 903
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1727 stars · 139 forks observed · 2026-08-28

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

go-tagexpr is a Go library that implements an expression syntax evaluated via struct tags, enabling declarative field validation and value evaluation. It includes a powerful struct-tag-based validator and an HTTP request parameter binder built on the same expression engine.

Use cases

  • validate struct fields with expressive rules in go struct tags
  • bind and validate http request parameters in go
  • evaluate expressions against nested struct fields
  • write custom validation rules referencing other fields in a struct
  • replace go-playground validator with a tag expression dsl

When to choose

  • you need cross-field or conditional validation logic expressed directly in struct tags
  • you want a single library for both validation and http parameter binding in go
  • you need to evaluate custom expressions over struct data at runtime

When to avoid

  • you only need simple required/type checks that standard validators cover
  • your project is not written in go
  • you prefer validation rules defined in code rather than struct tags

Facets

library · maturity stable

form-handling serialization parser developer-tools developer-tools web-development backend apis go cross-platform struct-tags expression-language dsl field-validation request-binding validator

1 source

Member repositories

RepositoryRoleHealth v2
bytedance/go-tagexprmain10

For agents

markdown · JSON · MCP: product_card(name="bytedance/go-tagexpr")

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