Description

UnmarshalerAttr is the interface implemented by objects that can unmarshal an XML attribute description of themselves.

UnmarshalXMLAttr decodes a single XML attribute. If it returns an error, the outer call to Unmarshal stops and returns that error. UnmarshalXMLAttr is used only for struct fields with the "attr" option in the field tag.

UnmarshalerAttr is referenced in 4 repositories

github.com/golang/go bitbucket.org/mellium/xmpp github.com/AlekSi/xmltv

...