From d040e0e5350751b3aca9fa761f41956a122c27a4 Mon Sep 17 00:00:00 2001 From: Paul van Santen Date: Mon, 17 Dec 2018 08:27:44 +0100 Subject: [PATCH] Run goformat on project --- interface.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface.go b/interface.go index 03a4543..d1670ef 100644 --- a/interface.go +++ b/interface.go @@ -4,6 +4,7 @@ type EventType string // HandleFunc is a handler function for a given event type type HandleFunc func(arguments ...interface{}) + // Listener is a container struct used to remove the listener type Listener struct { handler HandleFunc @@ -11,6 +12,7 @@ type Listener struct { // CaptureFunc is a capturer function that can capture all emitted events type CaptureFunc func(event EventType, arguments ...interface{}) + // Capturer is a container struct used to remove the capturer type Capturer struct { handler CaptureFunc @@ -33,4 +35,4 @@ type Observable interface { type EventEmitter interface { // EmitEvent emits the given event to all listeners and capturers EmitEvent(event EventType, arguments ...interface{}) -} \ No newline at end of file +}