提交 3af0428f 编写于 作者: m0_58228130's avatar m0_58228130

find proto

上级 61d5a8e0
......@@ -23,7 +23,7 @@ func Generate(files []string, fieldsToExportStr, format, table string) (lines []
}
count := 0
if strings.ToLower(filepath.Ext(files[0])) == "."+constant.FormatProto { //gen from protobuf
if strings.ToLower(filepath.Ext(files[1])) == "."+constant.FormatProto { //gen from protobuf
buf, pth := gen.GenerateFromProtobuf(files[0])
if vari.Verbose {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册