chore: remove init if possible (#2485)

This commit is contained in:
Kevin Wan
2022-10-06 23:57:56 +08:00
committed by GitHub
parent 97f8667b71
commit 773b59106b
4 changed files with 5 additions and 21 deletions

View File

@@ -25,10 +25,6 @@ type (
}
)
func init() {
InitLogger()
}
// NewRpcServer returns a Server.
func NewRpcServer(address string, opts ...ServerOption) Server {
var options rpcServerOptions