Discard Unused Return Value
Joe Fitzgerald
8 years ago
14 | 14 |
api.SetDebug(true)
|
15 | 15 |
wsAPI, err := api.StartRTM("", "http://example.com")
|
16 | 16 |
if err != nil {
|
17 | |
fmt.Errorf("%s\n", err)
|
|
17 |
_ = fmt.Errorf("%s\n", err)
|
18 | 18 |
}
|
19 | 19 |
go wsAPI.HandleIncomingEvents(chReceiver)
|
20 | 20 |
go wsAPI.Keepalive(20 * time.Second)
|