A collection of helpers for building a RESTful API server.
- Generate source code from configs
- Genrate Open API definitions
Get the package
go get github.com/ez-connect/go-rest
Install the binary
go install github.com/ez-connect/go-rest/cmd/go-rest-gen
https://pkg.go.dev/github.com/ez-connect/go-rest
Create a new service naming hello
go-rest-gen -new hello
Generate source code in /generated
go-rest-gen