删除没必要的服务
This commit is contained in:
parent
ab2cdf5921
commit
2ff371bbb9
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user