protobuf引用其它proto文件
在一个proto文件中引用其它proto文件时,使用import “xx.proto”的方式,记得需要加上双引号,否则生成文件的时候会提示:
Expected a string naming the file to import.
文章来自:http://www.cnblogs.com/yangru/p/3781722.html
在一个proto文件中引用其它proto文件时,使用import “xx.proto”的方式,记得需要加上双引号,否则生成文件的时候会提示:
Expected a string naming the file to import.