code: func (c *Conn) GetCatAliasInfo(pattern string) (catAliases []CatAliasInfo) {
  	catAliases = make([]CatAliasInfo, 0)
  	//force it to only show the fields we know about
  	aliases, err := c.DoCommand("GET", "/_cat/aliases/"+pattern, nil, nil)
  	if err == nil {
  		aliasLines := strings.Split(string(aliases[:]), "\n")
  		for _, alias := range aliasLines {
  			ci, _ := NewCatAliasInfo(alias)
  			if nil != ci {
  				catAliases = append(catAliases, *ci)
  			}
  		}
  	}
  	return catAliases
  }
docs: // Pull all the alias info from the connection