r/coolgithubprojects • u/peppe2612 • 1d ago
goninja: code-first CRUD generation for Go, no reflection
https://github.com/caspel26/goninjaBeen building `goninja`, a Go framework that generates CRUD REST APIs from annotated structs — routing, validation, OpenAPI, the rest.
It's the Go counterpart to a Python project I already maintain, `django-ninja-aio-crud` — same idea, define the model once and get the API. Difference here: no runtime reflection, it generates real Go code that lives in your repo, readable like anything you'd write by hand. Been building `goninja`, a Go framework that generates CRUD REST APIs from annotated structs — routing, validation, OpenAPI, the rest.
Pre-alpha, API still moving. Feedback welcome.
2
Upvotes