code: func (f *Function) GetVersionFromAlias(alias string) (string, error) {
  	var version string = alias
  	aliases, err := f.GetAliases()
  	if err != nil {
  		return version, err
  	}
  
  	for _, fnAlias := range aliases.Aliases {
  		if strings.Compare(version, *fnAlias.Name) == 0 {
  			version = *fnAlias.FunctionVersion
  			break
  		}
  	}
  	return version, nil
  }
docs: // Return function version from alias name, if alias not found, return the input