删除没必要的服务
This commit is contained in:
parent
ab2cdf5921
commit
2ff371bbb9
|
@ -949,8 +949,10 @@ func getAllServiceName() (result []string) {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
for _, e := range dirEntrys {
|
for _, e := range dirEntrys {
|
||||||
|
if filepath.Ext(e.Name()) == ".proto" {
|
||||||
result = append(result, e.Name()[0:len(e.Name())-6])
|
result = append(result, e.Name()[0:len(e.Name())-6])
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user