modulepackage
0.0.2
Repository: https://github.com/yusank/protoc-gen-go-http.git
Documentation: pkg.go.dev
# README
protoc-gen-go-http
generate go http server code via proto buffer
install
$ go get github.com/yusank/protoc-gen-go-http
how to use
$ make proto
# or
$ protoc -I/usr/local/include -I$(GOPATH)/src/github.com/googleapis/googleapis\
--proto_path=$(GOPATH)/src:. --go_out=. --go-http_out=. --go-grpc_out=.\
path/to/file.proto
customize
click here to learn how to deveop a simple protoc plugin.
TODO
- support validate
- gen client code.
# Constants
Version protoc-gen-go-http 工具版本.