mattn/go-xmpp — pull request #46 by soygul (2014-12-13 14:34:22+00:00)
Title: golint/gofmt the code

Used Go 1.4's gofmt and golint but should be compatible with anything >= Go 1.0.

Also using `stderr` for XMPP message dumping in debug mode, which is in line with Go's standard logger (`log.Println` etc.). This makes piping message output to another command easy without mixing XMPP chat logs.