Make services/admin golintable
parent
566d842179
commit
4171d6a843
|
@ -81,6 +81,7 @@ func (s *Service) Close() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// WithLogger sets the logger for the service
|
||||
func (s *Service) WithLogger(log zap.Logger) {
|
||||
s.logger = log.With(zap.String("service", "admin"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue