在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
用来编译编译:proto http://www.cppblog.com/sunicdavy/archive/2014/01/21/205517.html
http://studygolang.com/articles/8804 protoc --go_out=. protocol.proto
E:\TEST\TESTGRPC\src\google.golang.org\grpc\examples\helloworld\helloworld>proto
E:\TEST\TESTGRPC\src\google.golang.org\grpc\examples\helloworld\helloworld>protoc.exe --plugin=protoc-gen-go=%GOPATH%\bin\protoc-gen-go.exe --go_out=plugins=grpc:. ./wg.proto
E:\PokerServer\src\common\rpc_world>protoc.exe --plugin=protoc-gen-go=c:\Go\bin\protoc-gen-go.exe --go_out=plugins=grpc:. ./wg.proto protoc.exe --proto_path=E:\PokerServer\src\common\protocol\proto --proto_path=./ --plugin=protoc-gen-go=c:\Go\bin\protoc-gen-go.exe --go_out=plugins=grpc:. ./ds.proto
//protoc.exe --plugin=protoc-gen-go=c:\go\bin\protoc-gen-go.exe --go_out=plugins=grpc:. ./wg.proto(有时会出问题)
protoc.exe --plugin=protoc-gen-go=C:\Go\bin\protoc-gen-go.exe --go_out=./ ./*.proto protoc.exe --plugin=protoc-gen-go=C:\Go\bin\protoc-gen-go.exe --go_out=plugins=grpc:. ./deal.proto
|
请发表评论