fix: remove callback
from callbacks
if Remove()
called
#1350
Annotations
2 errors
golangci-lint:
callbacks.go#L198
[golangci] reported by reviewdog 🐶
SA5000: assignment to nil map (staticcheck)
Raw Output:
callbacks.go:198:4: SA5000: assignment to nil map (staticcheck)
removedMap[callback.name] = true
^
|
golangci-lint
reviewdog exited with status code: 1
|
Loading