code: func (c *Client) GetDomain(authZone string) (*Domain, error) {
  	domainName := authZone[0 : len(authZone)-1]
  	resource := fmt.Sprintf("%s%s", "/dns/managed/name?domainname=", domainName)
  
  	resp, err := c.sendRequest(http.MethodGet, resource, nil)
  	if err != nil {
  		return nil, err
  	}
  	defer resp.Body.Close()
  
  	domain := &Domain{}
  	err = json.NewDecoder(resp.Body).Decode(&domain)
  	if err != nil {
  		return nil, err
  	}
  
  	return domain, nil
  }
docs: // GetDomain gets a domain