kpeu3i/fielder
A Go tool to auto generate ENUM for struct fields
This tool helps Go developers automatically generate type-safe enums for their struct fields. Instead of manually typing out string column names when interacting with ORMs, you can input your Go struct definitions and get generated code that provides validated enum constants for each field. Go developers who work with ORMs like `gorm`, `go-pg`, or `bun` will find this useful for improving code safety and maintainability.
No commits in the last 6 months.
Use this if you are a Go developer who wants to replace raw string column names with compile-time checked enum constants when working with ORMs or Go reflection.
Not ideal if you are not a Go developer or if your project does not extensively use structs with ORMs or reflection requiring field name validation.
Stars
8
Forks
1
Language
Go
License
MIT
Category
Last pushed
Apr 29, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/kpeu3i/fielder"
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.