mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-21 01:52:01 -08:00
Update error.go
Fix typo in comment
This commit is contained in:
parent
1971772394
commit
0ee4764d31
2
error.go
2
error.go
@ -27,7 +27,7 @@ func (x *Err) Namespace() string {
|
|||||||
return x.XMLName.Space
|
return x.XMLName.Space
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalXML implements custom parsing for IQs
|
// UnmarshalXML implements custom parsing for XMPP errors
|
||||||
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
||||||
x.XMLName = start.Name
|
x.XMLName = start.Name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user