nikolaydubina/go-enum-encoding
Generate Go enum encoding
This tool helps Go developers automatically generate code for converting between custom data types (like 'Color' or 'Size') and their string or numeric representations. You provide your Go enum definition, and it outputs the necessary Go code for encoding and decoding, along with tests and benchmarks. Go developers working on applications that need to serialize or deserialize custom enumerated types will find this useful.
No commits in the last 6 months.
Use this if you are a Go developer who wants to automate the creation of fast, strict, and tested encoding/decoding logic for your Go enum types.
Not ideal if you need more advanced struct generation beyond basic enum encoding or if you are not developing in Go.
Stars
15
Forks
1
Language
Go
License
MIT
Category
Last pushed
Sep 11, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/nikolaydubina/go-enum-encoding"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
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.