mirror of
https://github.com/NotAShelf/goblin.git
synced 2024-11-02 03:21:16 +00:00
13 lines
324 B
Go
13 lines
324 B
Go
|
//go:build darwin || dragonfly || freebsd || openbsd || linux || netbsd || solaris || windows
|
||
|
// +build darwin dragonfly freebsd openbsd linux netbsd solaris windows
|
||
|
|
||
|
package viper
|
||
|
|
||
|
import "github.com/fsnotify/fsnotify"
|
||
|
|
||
|
type watcher = fsnotify.Watcher
|
||
|
|
||
|
func newWatcher() (*watcher, error) {
|
||
|
return fsnotify.NewWatcher()
|
||
|
}
|