protobuf引用其它proto文件

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

Expected a string naming the file to import.

posted on 2014-06-11 13:02  杨孺  阅读(2620)  评论(0)    收藏  举报

导航