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
See http://play.golang.org/p/OeSXsazIDS
If you unmarshal <Param2 int="1" />
into
type Param2 struct {
Int *int `xml:"int,attr"`
}
Int will always be nil. As seen in the example, this works if Int is an element and not
an attribute.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: