code: func (s *DomainsService) ListDomains(accountID string, options *DomainListOptions) (*domainsResponse, error) {
  	path := versioned(domainPath(accountID, ""))
  	domainsResponse := &domainsResponse{}
  
  	path, err := addURLQueryOptions(path, options)
  	if err != nil {
  		return nil, err
  	}
  
  	resp, err := s.client.get(path, domainsResponse)
  	if err != nil {
  		return nil, err
  	}
  
  	domainsResponse.HttpResponse = resp
  	return domainsResponse, nil
  }
docs: // ListDomains lists the domains for an account.
  //
  // See https://developer.dnsimple.com/v2/domains/#list