install: | install: | ||||
- go get github.com/Sirupsen/logrus | - go get github.com/Sirupsen/logrus | ||||
- go get github.com/smartystreets/goconvey | - go get github.com/smartystreets/goconvey | ||||
- go get github.com/go-fsnotify/fsnotify | |||||
- go get github.com/fsnotify/fsnotify | |||||
go: | go: | ||||
- 1.4 | - 1.4 |
"time" | "time" | ||||
log "github.com/Sirupsen/logrus" | log "github.com/Sirupsen/logrus" | ||||
"github.com/go-fsnotify/fsnotify" | |||||
"github.com/fsnotify/fsnotify" | |||||
) | ) | ||||
type watcher struct { | type watcher struct { |