Fix verification of boilerplate, style and file headers

This commit is contained in:
Manuel de Brito Fontes 2017-12-02 12:02:00 -03:00
parent 738d83985e
commit a4f67c0853
20 changed files with 297 additions and 18 deletions

View file

@ -19,6 +19,7 @@ package watch
// DummyFileWatcher noop implementation of a file watcher
type DummyFileWatcher struct{}
// NewDummyFileWatcher creates a FileWatcher using the DummyFileWatcher
func NewDummyFileWatcher(file string, onEvent func()) FileWatcher {
return DummyFileWatcher{}
}

View file

@ -24,6 +24,7 @@ import (
"gopkg.in/fsnotify.v1"
)
// FileWatcher is an interface we use to watch changes in files
type FileWatcher interface {
Close() error
}