mirror of
https://github.com/spf13/viper
synced 2024-12-23 03:57:01 +00:00
dcb7f30f39
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
12 lines
324 B
Go
12 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()
|
|
}
|