code: func (client *Client) GetDomains(ctx context.Context) ([]DNSDomain, error) {
  	resp, err := client.dnsRequest(ctx, "/v1/domains", nil, "", "GET")
  	if err != nil {
  		return nil, err
  	}
  
  	var d []DNSDomainResponse
  	if err := json.Unmarshal(resp, &d); err != nil {
  		return nil, err
  	}
  
  	domains := make([]DNSDomain, len(d))
  	for i := range d {
  		domains[i] = *d[i].Domain
  	}
  	return domains, nil
  }
docs: // GetDomains gets DNS domains