}
func (m *CustomSearchAttributesMapper) GetFieldName(alias string, namespace string) (string, error) {
namespace.go
fieldName, ok := m.aliasToField[alias]
if !ok {
return "", serviceerror.NewInvalidArgument(
fmt.Sprintf("Namespace %s has no mapping defined for search attribute %s", namespace, alias),