- protoc
- go 1.12+
brew install protoc
install protoc-gen-gin to your $GOPATH
protoc -Iexample/third_party -Iexample -Iexample/third_party/github.com/gogo/protobuf --gin_out=example api.proto
codegen gin code from proto
brew install protoc
install protoc-gen-gin to your $GOPATH
protoc -Iexample/third_party -Iexample -Iexample/third_party/github.com/gogo/protobuf --gin_out=example api.proto