stirby/mapgen
Generate thread-safe, type-safe Go maps
This tool generates specialized, concurrent maps for Go applications. You specify the key and value types, and it produces a Go file containing a map that can be safely accessed by multiple parts of your program at the same same time. This is for Go developers building high-performance or concurrent applications who need robust data structures.
No commits in the last 6 months.
Use this if you are a Go developer working with Go versions older than 1.18 and need a thread-safe map for custom or complex key-value pairs.
Not ideal if you are using Go 1.18 or newer, as Go's built-in generics offer a more modern and direct way to achieve type-safe concurrent maps.
Stars
40
Forks
4
Language
Go
License
MIT
Category
Last pushed
Jul 19, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/stirby/mapgen"
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.