hexdigest/gowrap

GoWrap is a command line tool for generating decorators for Go interfaces

57
/ 100
Established

GoWrap is a command-line tool for Go developers to automatically generate 'decorator' code. It takes an existing Go interface and a template (e.g., for logging, metrics, or retries) and outputs new Go code that wraps the original interface with added functionality. This helps Go developers quickly enhance their services without writing repetitive boilerplate.

1,315 stars.

Use this if you are a Go developer who needs to add common cross-cutting concerns like logging, tracing, or retry logic to your Go interfaces in a standardized, efficient way.

Not ideal if you are not developing in Go or if you prefer to hand-code all your interface implementations and wrappers.

Go-development code-generation software-engineering service-instrumentation boilerplate-reduction
No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

1,315

Forks

94

Language

Go

License

MIT

Last pushed

Mar 19, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/hexdigest/gowrap"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.