Package list golang-github-nlopes-slack / 3048784
Discard Unused Return Value Joe Fitzgerald 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1414 api.SetDebug(true)
1515 wsAPI, err := api.StartRTM("", "http://example.com")
1616 if err != nil {
17 fmt.Errorf("%s\n", err)
17 _ = fmt.Errorf("%s\n", err)
1818 }
1919 go wsAPI.HandleIncomingEvents(chReceiver)
2020 go wsAPI.Keepalive(20 * time.Second)