diff --git a/goutils/proto_build/main.go b/goutils/proto_build/main.go index b81c51b..cef85c7 100644 --- a/goutils/proto_build/main.go +++ b/goutils/proto_build/main.go @@ -949,7 +949,9 @@ func getAllServiceName() (result []string) { panic(err) } for _, e := range dirEntrys { - result = append(result, e.Name()[0:len(e.Name())-6]) + if filepath.Ext(e.Name()) == ".proto" { + result = append(result, e.Name()[0:len(e.Name())-6]) + } } return } diff --git a/service/fsservice.proto b/service/fsservice.proto.bak similarity index 100% rename from service/fsservice.proto rename to service/fsservice.proto.bak