func mapstructureHookProtoEnum(f, t reflect.Type, data any) (any, error) {
if f != stringType || !t.Implements(protoEnumType) {
}
vals := reflect.New(t).Interface().(protoreflect.Enum).Descriptor().Values()
str := strings.ToLower(data.(string)) // we checked f above so this can't fail