Skip to content

yusank/protoc-gen-go-http

Repository files navigation

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