hexdigest/gowrap
GoWrap is a command line tool for generating decorators for Go interfaces
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.
Stars
1,315
Forks
94
Language
Go
License
MIT
Category
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.
Related tools
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.