window go protobuf

用来编译编译: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

c.exe --plugin=protoc-gen-go=%GOPATH%\bin\protoc-gen-go.exe --go_out=./ ./hellow

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