package main import ( "fmt" "layeh.com/gumble/gumble" "layeh.com/gumble/gumbleutil" // _ "layeh.com/gumble/opus" ) func main() { config := gumble.NewConfig() config.Username = "gumble-test" config.Attach(gumbleutil.Listener{ TextMessage: func(e *gumble.TextMessageEvent) { fmt.Printf("Received text message: %s\n", e.Message) }, }) _, err := gumble.Dial("parla.abbiamoundominio.org:64738", config) if err != nil { panic(err) } // var message TextMessage }