./x.go:20: cannot use func literal (type func(context.Context, interface {})) as type bitfinex.handlerT in argument to c.Websocket.AttachEventHandler
./x.go:24: cannot use func literal (type func(context.Context, interface {})) as type bitfinex.handlerT in argument to c.Websocket.AttachPublicHandler
https://github.com/bitfinexcom/bitfinex-api-go/blob/master/examples/v2/ws-book/main.go#L20 https://github.com/bitfinexcom/bitfinex-api-go/blob/master/examples/v2/ws-book/main.go#L24
The lines above causes he following errors: