Documentation
Documentation
Choose the path that matches what you are trying to do. If this is your first visit, start with the five-minute setup; if you already have a resource, jump straight to the guide or reference you need.
goninja is pre-alpha. The API described here is implemented and tested, but it
may change without notice and there is no compatibility guarantee yet.
New to goninja
Install the CLI and go from an empty Go module to a working resource.
Follow a struct from parser to generated handler and see what runs per request.
Read a small bookstore API with relations, filters, validation, and docs.
Build an API
Shape your resources, queries, relations, and routes.
Secure and customize
Control access, errors, lifecycle behavior, and non-CRUD endpoints.
Verify and operate
Keep generated resources correct and performance changes measurable.
Reference
Every verb and modifier the goninja tag accepts.
What lands in each generated file.
Flags, defaults and watch mode.
The types and functions generated code depends on.