gitalk icon indicating copy to clipboard operation
gitalk copied to clipboard

[转]Protobuf3 语法指南

Open utterances-bot opened this issue 3 years ago • 2 comments

[转]Protobuf3 语法指南

以前我翻译了 Protobuf2 语法指南,现在 千念飞羽把protobuf3的语法指南也翻译了,我也转载一下,读者可以有个参考。 译文地址是: Protobuf3语言指南。

https://colobu.com/2017/03/16/Protobuf3-language-guide/

utterances-bot avatar Mar 03 '22 14:03 utterances-bot

Map的字段可以是repeated。这个是不是有问题,我看官方文档的描述是:Map fields cannot be repeated.

willMyLin avatar Mar 03 '22 14:03 willMyLin

对go来说,编译器会位每个消息类型生成了一个.pd.go文件,不是.pb.go?

willMyLin avatar Mar 03 '22 15:03 willMyLin