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

favadi/protoc-go-inject-tag

Inject custom tags to protobuf golang struct observed · 2026-08-28

github.com/favadi/protoc-go-inject-tag · Go · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

46/100

  • Activity 52
  • Release rhythm 8
  • 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: n/a
  • age_days: 3801
  • days_rel: n/a
  • days_push: 292
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1266 stars · 161 forks observed · 2026-08-28

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

A Go CLI tool that injects custom struct tags into generated Go protobuf (.pb.go) files using @gotags comments in .proto files. It works as a post-processing step after protoc code generation, commonly used for validation and JSON field control.

Use cases

  • inject custom struct tags into generated protobuf Go code
  • add validation tags to protobuf-generated structs
  • control JSON serialization of protobuf messages in Go
  • post-process .pb.go files after protoc generation
  • remove tag comments for OpenAPI/Swagger generation compatibility

When to choose

  • you use protoc-gen-go and need struct tags it doesn't support natively
  • you want validation or JSON tags on protobuf-generated Go structs
  • you need a simple post-generation step in your build pipeline

When to avoid

  • you use protoc plugins that support custom tags natively
  • you don't generate Go code from protobuf
  • you want tags injected at protoc plugin stage rather than post-processing

Facets

cli-tool · maturity stable

developer-tools serialization developer-tools backend apis cli go cross-platform protobuf struct-tags code-generation golang protoc

1 source

Member repositories

RepositoryRoleHealth v2
favadi/protoc-go-inject-tagmain46

For agents

markdown · JSON · MCP: product_card(name="favadi/protoc-go-inject-tag")

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