mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-18 22:17:44 +02:00
fix: some linting issues (#2563)
This commit is contained in:
@ -337,7 +337,6 @@ func (s *service) Handle(pattern string, handler http.Handler) {
|
||||
}
|
||||
|
||||
func (s *service) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request)) {
|
||||
|
||||
var seen bool
|
||||
s.RLock()
|
||||
for _, ep := range s.srv.Endpoints {
|
||||
@ -523,7 +522,7 @@ func (s *service) Run() error {
|
||||
return s.stop()
|
||||
}
|
||||
|
||||
// Options returns the options for the given service
|
||||
// Options returns the options for the given service.
|
||||
func (s *service) Options() Options {
|
||||
return s.opts
|
||||
}
|
||||
|
Reference in New Issue
Block a user