zoukankan      html  css  js  c++  java
  • 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:TESTTESTGRPCsrcgoogle.golang.orggrpcexampleshelloworldhelloworld>proto
    c.exe --plugin=protoc-gen-go=%GOPATH%inprotoc-gen-go.exe --go_out=./ ./hellow
    orld.proto

    E:TESTTESTGRPCsrcgoogle.golang.orggrpcexampleshelloworldhelloworld>protoc.exe --plugin=protoc-gen-go=%GOPATH%inprotoc-gen-go.exe --go_out=plugins=grpc:. ./wg.proto

    E:PokerServersrccommon pc_world>protoc.exe --plugin=protoc-gen-go=c:Goinprotoc-gen-go.exe --go_out=plugins=grpc:. ./wg.proto

    protoc.exe --proto_path=E:PokerServersrccommonprotocolproto  --proto_path=./ --plugin=protoc-gen-go=c:Goinprotoc-gen-go.exe --go_out=plugins=grpc:. ./ds.proto

    //protoc.exe --plugin=protoc-gen-go=c:goinprotoc-gen-go.exe --go_out=plugins=grpc:. ./wg.proto(有时会出问题)

    protoc.exe --plugin=protoc-gen-go=C:Goinprotoc-gen-go.exe --go_out=./ ./*.proto

    protoc.exe --plugin=protoc-gen-go=C:Goinprotoc-gen-go.exe --go_out=plugins=grpc:. ./deal.proto

  • 相关阅读:
    4.12 IDEA 如何新建 Java 项目 (图文讲解, 良心教程)
    4.11 AndroidStudio快捷键总结
    4.9 Android AndroidX的迁移
    4.8 build.gradle中正确地导入RecyclerView依赖
    4.6 构建之法7
    4.5 构建之法6
    4.4 构建之法5
    4.3 构建之法4
    4.2 构建之法3
    4.1 构建之法2
  • 原文地址:https://www.cnblogs.com/chunyou128/p/6054589.html
Copyright © 2011-2022 走看看