sasha-s/go-inline
Generic Data Structures/Algorithms in golang.
This tool helps Go developers create highly optimized, type-safe versions of common data structures and algorithms. By taking a 'blueprint' Go code file that uses a generic placeholder type (like `Number` in a `Vector`), it generates new Go code where the placeholder is replaced with a specific type (e.g., `int` or `float32`). The output is ready-to-use Go source code, allowing developers to avoid manual copy-pasting and ensure type safety.
No commits in the last 6 months.
Use this if you are a Go developer who needs to create multiple, type-specific implementations of generic data structures or algorithms without relying on reflection or manual code duplication.
Not ideal if you prefer using text templates for code generation or if your Go development workflow already incorporates Go's built-in generics.
Stars
54
Forks
4
Language
Go
License
—
Category
Last pushed
May 19, 2016
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/sasha-s/go-inline"
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.