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
@@ -18,11 +18,11 @@ import (
)
func NewThird(discov discoveryregistry.SvcDiscoveryRegistry) *Third {
conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImThirdName)
if err != nil {
// panic(err)
}
return &Third{conn: conn, discov: discov}
// conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImThirdName)
// if err != nil {
// panic(err)
// }
return &Third{discov: discov}
}
type Third struct {