Bin-Huang/newc
A code generator that generates constructor code for Golang structures.
This tool helps Go developers automatically create constructor functions for their data structures. You provide a Go struct definition, and it generates the corresponding `New` function, populating fields and even calling initialization methods. It's designed for Go developers to streamline boilerplate code creation and maintenance, especially in large projects.
No commits in the last 6 months.
Use this if you are a Go developer who wants to automate the creation and updating of constructor functions for your structs.
Not ideal if you are not developing in Go or prefer to manually write all your constructor code.
Stars
37
Forks
8
Language
Go
License
MIT
Category
Last pushed
Feb 02, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Bin-Huang/newc"
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.