# HG changeset patch # User Chris Jones # Date 1379269919 21600 # Node ID 21a390dd35068d585722e4e2ca0c5a3ff4255c84 # Parent 9d7fdb1d2fc1d3c6f7467ca050f1c5e11806752b gofmt diff -r 9d7fdb1d2fc1 -r 21a390dd3506 xmpp/layer1.go --- a/xmpp/layer1.go Sun Sep 15 12:31:37 2013 -0600 +++ b/xmpp/layer1.go Sun Sep 15 12:31:59 2013 -0600 @@ -5,8 +5,8 @@ import ( "io" + "net" "time" - "net" ) func (cl *Client) readTransport(w io.WriteCloser) { diff -r 9d7fdb1d2fc1 -r 21a390dd3506 xmpp/layer2.go --- a/xmpp/layer2.go Sun Sep 15 12:31:37 2013 -0600 +++ b/xmpp/layer2.go Sun Sep 15 12:31:59 2013 -0600 @@ -4,10 +4,10 @@ package xmpp import ( + "encoding/xml" + "fmt" "io" "reflect" - "encoding/xml" - "fmt" "strings" ) diff -r 9d7fdb1d2fc1 -r 21a390dd3506 xmpp/layer3.go --- a/xmpp/layer3.go Sun Sep 15 12:31:37 2013 -0600 +++ b/xmpp/layer3.go Sun Sep 15 12:31:59 2013 -0600 @@ -4,8 +4,8 @@ package xmpp import ( + "crypto/tls" "encoding/xml" - "crypto/tls" "time" ) diff -r 9d7fdb1d2fc1 -r 21a390dd3506 xmpp/sasl.go --- a/xmpp/sasl.go Sun Sep 15 12:31:37 2013 -0600 +++ b/xmpp/sasl.go Sun Sep 15 12:31:59 2013 -0600 @@ -3,14 +3,14 @@ package xmpp import ( - "strings" + "crypto/md5" + "crypto/rand" + "encoding/base64" "encoding/xml" - "encoding/base64" "fmt" "math/big" - "crypto/rand" "regexp" - "crypto/md5" + "strings" ) // BUG(cjyar): Doesn't implement TLS/SASL EXTERNAL.