From 9be7a75fe978c2dd932f02caa7bddaf4dbf5c6cc Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Mon, 23 Aug 2021 19:24:29 +0000 Subject: [PATCH] missing import --- bindings/event.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bindings/event.go b/bindings/event.go index 21a076fa7..895f347d2 100644 --- a/bindings/event.go +++ b/bindings/event.go @@ -7,10 +7,14 @@ package bindings +import ( + "gitlab.com/elixxir/client/api" +) + // RegisterEventCallback records the given function to receive // ReportableEvent objects. It returns the internal index // of the callback so that it can be deleted later. -func (c *Client) RegisterEventCallback(myFunc EventCallbackFunction) int { +func (c *Client) RegisterEventCallback(myFunc api.EventCallbackFunction) int { return c.api.RegisterEventCallback(myFunc) } -- GitLab