mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-10 12:03:43 -08:00
Refactor tests
This commit is contained in:
@@ -38,7 +38,7 @@ func main() {
|
||||
log.Println("Received a message ! => \n" + string(data))
|
||||
})
|
||||
|
||||
client, err := xmpp.NewClient(config, router, func(err error) { log.Println(err) })
|
||||
client, err := xmpp.NewClient(&config, router, func(err error) { log.Println(err) })
|
||||
if err != nil {
|
||||
log.Fatalf("%+v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user