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
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Go version
go version go1.23.6 linux/amd64
Output of
go env
in your module/workspace:What did you do?
playground example
I had a struct with tag
email
, and another struct with tagEmail
. Then I marshaled them.What did you see happen?
I got an empty raw message with the struct tagged
email
, but the other struct behaves normally.What did you expect to see?
Both structs should've marshalled.
The text was updated successfully, but these errors were encountered: