diff options
| -rw-r--r-- | protoParse.go | 7 | ||||
| -rw-r--r-- | protoc.go | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/protoParse.go b/protoParse.go index c039028..9efe2fd 100644 --- a/protoParse.go +++ b/protoParse.go @@ -66,9 +66,10 @@ func (pb *Files) hasPluralMessage(f *File) error { func (pb *Files) protoParse(pf *File) error { // does the file conform to the standard? (also reads in UUID & Version) - if err := pb.hasPluralMessage(pf); err != nil { - return err - } + // if err := pb.hasPluralMessage(pf); err != nil { + // return err + // } + // os.Exit(0) uuid, version, err := fhelp.ValidProtobuf(pf.Filename) if err != nil { @@ -63,6 +63,7 @@ func (pb *Files) protocBuild(f *File) error { cmd := []string{"protoc", "--go_out=."} cmd = append(cmd, "--proto_path="+gopath) cmd = append(cmd, "--go_opt=M"+f.Filename+"="+gopath) + // cmd = append(cmd, "--print_free_field_numbers") // look for included proto files lines := strings.Split(string(data), "\n") |
