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
Hi! The tom.TextUnmarshaler interface is only used when unmarshaling from a TOML string -- in your case it's an inline table. For example https://go.dev/play/p/oRPNRcnL5K-
I think what you want is similar to #873, but I don't think anyone has made progress on this in a while.
Describe the bug
A experienced empty bytes on a custom
UnmarshalText
type.To Reproduce
Expected behavior
I expected the function
UnmarshalText
to not receive empty bytes.Versions
The text was updated successfully, but these errors were encountered: