Linting.
This commit is contained in:
@@ -117,6 +117,7 @@ func TestEventerLaunchNotExistingEvent(t *testing.T) {
|
||||
if err == nil {
|
||||
t.Fatal("LaunchEvent() returned empty error!")
|
||||
}
|
||||
|
||||
require.Nil(t, data)
|
||||
|
||||
Shutdown()
|
||||
|
@@ -33,6 +33,7 @@ func Initialize() {
|
||||
// all further events mapping changes.
|
||||
func InitializeCompleted() {
|
||||
eventsInitialized = true
|
||||
|
||||
log.Println("Events initialization completed")
|
||||
}
|
||||
|
||||
@@ -53,6 +54,7 @@ func LaunchEvent(eventName string, data interface{}) (interface{}, error) {
|
||||
}
|
||||
|
||||
returnedData := handler.Handler(data)
|
||||
|
||||
return returnedData, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user