goctl

Code generator for web and RPC services in Go

brewmacoslinux
Try with needOr install directly
Source

About

Generates server-side and client-side code for web and RPC services

Commands

goctl

Examples

Generate a complete API service from a proto definition$ goctl api go -api service.api -dir .
Generate gRPC server and client code from protobuf$ goctl rpc protoc service.proto --go_out=. --go-grpc_out=.
Create a new API project with scaffolding$ goctl api new myservice