From dc447769b25f295cad1d56588b78a199302ed59b Mon Sep 17 00:00:00 2001 From: Matt Goodall Date: Mon, 9 Jul 2012 02:21:18 +0100 Subject: [PATCH] go fmt --- client.go | 8 ++++---- component.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client.go b/client.go index b1a1d9e..4676250 100644 --- a/client.go +++ b/client.go @@ -69,14 +69,14 @@ func main() { } type DiscoInfo struct { - XMLName xml.Name `xml:"http://jabber.org/protocol/disco#info query"` + XMLName xml.Name `xml:"http://jabber.org/protocol/disco#info query"` Identity []DiscoIdentity `xml:"identity"` - Feature []DiscoFeature `xml:"feature"` + Feature []DiscoFeature `xml:"feature"` } type DiscoIdentity struct { - Type string `xml:"type,attr"` - Name string `xml:"name,attr"` + Type string `xml:"type,attr"` + Name string `xml:"name,attr"` Category string `xml:"category,attr"` } diff --git a/component.go b/component.go index 32df3c6..fd488ba 100644 --- a/component.go +++ b/component.go @@ -7,8 +7,8 @@ import ( ) var ( - addr = flag.String("a", "", "Server component address") - jid = flag.String("j", "", "JID") + addr = flag.String("a", "", "Server component address") + jid = flag.String("j", "", "JID") secret = flag.String("s", "", "Component secret") )