alias.go
func (acc *Account) Aliases() ([]*Alias, error) {
	var vl valueList
	err := acc.Domain.cgp.request(listAliases{Param: fmt.Sprintf("%s@%s", acc.Name, acc.Domain.Name)}, &vl)
	if err != nil {
		return []*Alias{}, err
	}
	vals := vl.compact()
	as := make([]*Alias, len(vals))
	for i, v := range vals {
		as[i] = acc.Alias(v)
	}
	return as, nil
}
func (acc *Account) Aliases() ([]*Alias, error) {
	var vl valueList
	err := acc.Domain.cgp.request(listAliases{Param: fmt.Sprintf("%s@%s", acc.Name, acc.Domain.Name)}, &vl)
	if err != nil {
		return []*Alias{}, err
	}
	vals := vl.compact()
	as := make([]*Alias, len(vals))
	for i, v := range vals {
		as[i] = acc.Alias(v)
	}
	return as, nil
}
// Aliases lists the aliases of an account