@@ -591,18 +591,18 @@ func (s *Service) stopDependentServices(ctx context.Context) error {
591
591
return nil
592
592
}
593
593
594
- // Logger gives access to the utils/ logger API from inside a service context.
594
+ // Logger gives access to the logger API from inside a service context.
595
595
func (s * Service ) Logger () loggerApi.Logger {
596
596
return s .logger
597
597
}
598
598
599
- // Errors gives access to the utils/ errors API from inside a service context.
599
+ // Errors gives access to the errors API from inside a service context.
600
600
func (s * Service ) Errors () errorsApi.ErrorFactory {
601
601
return s .errors
602
602
}
603
603
604
- // Abort is a helper method to abort services in the right way, in external
605
- // initialization, when an error checking is required .
604
+ // Abort is a helper method to abort services in the right way, when external
605
+ // initialization is needed .
606
606
func (s * Service ) Abort (message string , err error ) {
607
607
s .abort (context .TODO (), merrors .NewAbortError (message , err ))
608
608
}
@@ -701,8 +701,8 @@ func (s *Service) SetupTest(ctx context.Context, t *testing.Testing) *ServiceTes
701
701
return setupServiceTesting (ctx , s , t )
702
702
}
703
703
704
- // CustomDefinitions gives the service access to its custom settings that
705
- // it may have put inside the 'service.toml' file.
704
+ // CustomDefinitions gives the service access to the service custom settings
705
+ // that it may have put inside the 'service.toml' file.
706
706
//
707
707
// Note that these settings correspond to everything under the [service]
708
708
// object inside the TOML file.
0 commit comments