$ 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.