Run gofmt -s on source files

This commit is contained in:
Andreas Deininger 2023-03-10 20:18:41 +01:00 committed by Bjørn Erik Pedersen
parent b6f44aaf1a
commit d55af2abf0
8 changed files with 7 additions and 9 deletions

View file

@ -268,7 +268,7 @@ func (item *itemToWatch) checkForChanges() ([]fsnotify.Event, error) {
dirOp := checkChange(item.left.FileInfo, item.right.FileInfo)
if dirOp != 0 {
evs := []fsnotify.Event{fsnotify.Event{Op: dirOp, Name: item.filename}}
evs := []fsnotify.Event{{Op: dirOp, Name: item.filename}}
return evs, nil
}