protobuf引用其它proto文件

    在一个proto文件中引用其它proto文件时,使用import “xx.proto”的方式,记得需要加上双引号,否则生成文件的时候会提示:

Expected a string naming the file to import.

protobuf引用其它proto文件,布布扣,bubuko.com

文章来自:http://www.cnblogs.com/yangru/p/3781722.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3