code: func (c *Client) GetRecords(domain *Domain, recordName, recordType string) (*[]Record, error) {
  	resource := fmt.Sprintf("%s/%d/%s%s%s%s", "/dns/managed", domain.ID, "records?recordName=", recordName, "&type=", recordType)
  
  	resp, err := c.sendRequest(http.MethodGet, resource, nil)
  	if err != nil {
  		return nil, err
  	}
  	defer resp.Body.Close()
  
  	records := &recordsResponse{}
  	err = json.NewDecoder(resp.Body).Decode(&records)
  	if err != nil {
  		return nil, err
  	}
  
  	return records.Records, nil
  }
docs: // GetRecords gets all TXT records