code: func (client *Client) GetRecords(ctx context.Context, domain string) ([]DNSRecord, error) {
  	resp, err := client.dnsRequest(ctx, "/v1/domains/"+domain+"/records", nil, "", "GET")
  	if err != nil {
  		return nil, err
  	}
  
  	var r []DNSRecordResponse
  	if err = json.Unmarshal(resp, &r); err != nil {
  		return nil, err
  	}
  
  	records := make([]DNSRecord, 0, len(r))
  	for _, rec := range r {
  		records = append(records, rec.Record)
  	}
  
  	return records, nil
  }
docs: // GetRecords returns the DNS records