You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
2023/04/12 22:03:00 1 error(s) decoding:
* cannot parse 'bytes[0]' as uint: strconv.ParseUint: parsing "foo": invalid syntax
exit status 1
This hook func should only apply when the target field is a slice of strings. However, there is no way to figure that it's a slice of strings (and only that it's a slice) from reflect.kind. Thus, unmarshalling a string to []byte fails when this hook is used. Unsure what can be done here.
Produces:
This hook func should only apply when the target field is a slice of strings. However, there is no way to figure that it's a slice of strings (and only that it's a slice) from
reflect.kind
. Thus, unmarshalling a string to[]byte
fails when this hook is used. Unsure what can be done here.mapstructure/decode_hooks.go
Line 107 in bf980b3
The text was updated successfully, but these errors were encountered: