This commit is contained in:
wangchuxiao
2023-06-07 15:06:50 +08:00
parent da3f9670e9
commit 74ea708893
7 changed files with 35 additions and 37 deletions
+5 -5
View File
@@ -13,11 +13,11 @@ import (
)
func NewGroup(discov discoveryregistry.SvcDiscoveryRegistry) *Group {
conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImGroupName)
if err != nil {
// panic(err)
}
return &Group{conn: conn, discov: discov}
// conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImGroupName)
// if err != nil {
// panic(err)
// }
return &Group{discov: discov}
}
type Group struct {