chore: linter: staticcheck

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-23 22:48:54 +02:00
parent 98cf5872e9
commit df8d8c276e
7 changed files with 33 additions and 21 deletions
+4 -4
View File
@@ -140,12 +140,12 @@ func (evType EventType) Merge(other EventType) EventType {
}
func (evType EventType) String() string {
switch {
case evType == NonRemove:
switch evType {
case NonRemove:
return "non-remove"
case evType == Remove:
case Remove:
return "remove"
case evType == Mixed:
case Mixed:
return "mixed"
default:
panic("bug: Unknown event type")