goninja: New Go Framework Generates CRUD REST APIs from Annotated Structs
A developer has released goninja, a pre-alpha Go framework that automatically generates CRUD REST API code from annotated structs. The tool produces routing, validation, and OpenAPI documentation without relying on runtime reflection, instead generating readable Go code that lives directly in the repository. It is modeled after an existing Python project called django-ninja-aio-crud, following the same principle of defining a model once to obtain a full API. Developers annotate struct fields with goninja tags to control which operations — such as list, retrieve, create, update, and filter — are exposed. The project is in pre-alpha with an evolving API, and the author is actively seeking community feedback via its documentation and GitHub repository.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in