From b5241a90537707229280e6f870b04bafaa2b16ac Mon Sep 17 00:00:00 2001 From: Ian Davis <nospam@iandavis.com> Date: Sat, 17 Jul 2021 11:03:52 +0100 Subject: [PATCH] cleanup: fix vet and staticcheck failures (#42) --- basic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic.go b/basic.go index 7141532..94685d5 100644 --- a/basic.go +++ b/basic.go @@ -267,7 +267,7 @@ func (b *basicBus) GetAllEventTypes() []reflect.Type { defer b.lk.RUnlock() types := make([]reflect.Type, 0, len(b.nodes)) - for t, _ := range b.nodes { + for t := range b.nodes { types = append(types, t) } return types