code: func (s *Services) WithNameUsingPattern(namePattern string) ([]Service, error) {
  	result := []Service{}
  	for _, services := range *s {
  		for i := range services {
  			service := services[i]
  			if s.match(namePattern, service.Name) {
  				result = append(result, service)
  			}
  		}
  	}
  	if len(result) > 0 {
  		return result, nil
  	}
  	return nil, fmt.Errorf("no service with name pattern %s", namePattern)
  }
docs: // WithName finds the service with a name pattern.