英文:
Alternative or github.com/gogo/protobuf/parser package
问题
我正在寻找一个用于解析protobuf文件的包,然后找到了这个1:
github.com/gogo/protobuf/parser
然而,当我尝试运行 go get github.com/gogo/protobuf/parser 时,并没有找到这个包。有人知道这个包的其他替代方案吗?
1 https://libraries.io/go/github.com%2Fgogo%2Fprotobuf%2Fparser
英文:
I'm searching for a package to parse a protobuf file and then found this 1:
github.com/gogo/protobuf/parser
However, when I tried to do go get github.com/gogo/protobuf/parser there was no such package. Anyone knows another alternative of this package?
1 https://libraries.io/go/github.com%2Fgogo%2Fprotobuf%2Fparser
答案1
得分: 2
你正在使用非官方且过时的Libraries.io文档。
请使用官方的最新文档,并按照安装说明进行操作。
Go语言的Protocol Buffers与Gadgets:
https://github.com/gogo/protobuf
英文:
You are using unofficial and old documentation from Libraries.io.
Use official, up-to-date documentation, and follow the installation intructions.
Protocol Buffers for Go with Gadgets:
https://github.com/gogo/protobuf
答案2
得分: 0
你可以使用默认的protobuf库(https://github.com/golang/protobuf),如果你的protobuf文件有错误,在生成后会有相应的提示。
关于使用和安装的所有信息,你可以在README(https://github.com/golang/protobuf/blob/master/README.md)中阅读到。
英文:
you can use default protobuf - https://github.com/golang/protobuf if you have errors in your protobuffers it says you after generating
all you need about usage and installation you can read in readme https://github.com/golang/protobuf/blob/master/README.md
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论