code: func (s *LabelService) FindLabels(ctx context.Context, filter plat.LabelFilter, opt ...plat.FindOptions) ([]*plat.Label, error) {
  	url, err := newURL(s.Addr, resourceIDPath(s.BasePath, filter.ResourceID))
  	if err != nil {
  		return nil, err
  	}
  
  	req, err := http.NewRequest("GET", url.String(), nil)
  	if err != nil {
  		return nil, err
  	}
  
  	SetToken(s.Token, req)
  
  	hc := newClient(url.Scheme, s.InsecureSkipVerify)
  
  	resp, err := hc.Do(req)
  	if err != nil {
  		return nil, err
  	}
  
  	if err := CheckError(resp); err != nil {
  		return nil, err
  	}
  
  	var r labelsResponse
  	if err := json.NewDecoder(resp.Body).Decode(&r); err != nil {
  		return nil, err
  	}
  
  	return r.Labels, nil
  }
docs: // FindLabels returns a slice of labels