code: func (s *MacroService) FindMacros(ctx context.Context) ([]*platform.Macro, error) {
  	url, err := newURL(s.Addr, macroPath)
  	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, true); err != nil {
  		return nil, err
  	}
  
  	var ms getMacrosResponse
  	if err := json.NewDecoder(resp.Body).Decode(&ms); err != nil {
  		return nil, err
  	}
  
  	macros := ms.ToPlatform()
  	return macros, nil
  }
docs: // FindMacros returns all macros in the store