dougang5993 2019-09-08 09:33
浏览 327

protobuf-maven-plugin编译为golang

I need to generate source files from the same .proto file to both Java and Go (golang). The protobuf-maven-plugin has the compile goal for Java, but no compile-go goal for golang.

Any idea how to do that? Thanks

  • 写回答

1条回答 默认 最新

  • duansha8764 2019-09-10 21:33
    关注

    there is special plugin for maven to work with golang, so that it can be used in maven project infrastructure with Java, I made some example of "how to" generate Go from protobuf scripts in maven

    评论

报告相同问题?