sasha-s/go-inline

Generic Data Structures/Algorithms in golang.

25
/ 100
Experimental

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.

Go-development code-generation type-safety data-structures algorithmic-implementation
No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 8 / 25
Maturity 8 / 25
Community 9 / 25

How are scores calculated?

Stars

54

Forks

4

Language

Go

License

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.