mitranim/repr
[MOVED] Pretty-print Go data structures as valid Go code
This tool helps Go developers automatically generate valid Go code representing data structures. You provide a Go data structure, and it outputs a string of Go code that, when executed, recreates that exact data structure. This is particularly useful for tasks like automated code generation or debugging.
No commits in the last 6 months.
Use this if you are a Go developer who needs to programmatically convert Go data structures into their corresponding Go code representation.
Not ideal if you are looking for a general-purpose pretty-printer for human readability rather than valid Go code output.
Stars
13
Forks
4
Language
Go
License
Unlicense
Category
Last pushed
Mar 26, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mitranim/repr"
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.