feat: no log
parent
2c68c8cddb
commit
82cce14ef8
|
@ -30,6 +30,7 @@ func New(name string) *Service {
|
|||
srv := &Service{
|
||||
Name: name,
|
||||
Server: gin.New(),
|
||||
SkipLog: DefaultSkipLog,
|
||||
Addr: fmt.Sprintf("%s:%s", viper.GetString("server.host"), viper.GetString("server.port")),
|
||||
}
|
||||
srv.Server.Use(srv.Default)
|
||||
|
|
Loading…
Reference in New Issue