structs.go
changeset 108 8ec06aff386e
parent 107 3a01bd8e3f8c
child 110 7696e6a01709
--- a/structs.go	Sun Dec 16 17:10:21 2012 -0700
+++ b/structs.go	Sun Dec 16 19:54:54 2012 -0700
@@ -74,7 +74,7 @@
 type auth struct {
 	XMLName   xml.Name
 	Chardata  string `xml:",chardata"`
-	Mechanism string `xml:"mechanism,attr"`
+	Mechanism string `xml:"mechanism,attr,omitempty"`
 	Any       *Generic
 }