matterbridge/vendor/github.com/spf13/viper/watch.go

13 lines
324 B
Go
Raw Normal View History

2023-01-28 13:57:53 -08:00
//go:build darwin || dragonfly || freebsd || openbsd || linux || netbsd || solaris || windows
// +build darwin dragonfly freebsd openbsd linux netbsd solaris windows
2021-06-16 12:00:49 -07:00
package viper
import "github.com/fsnotify/fsnotify"
type watcher = fsnotify.Watcher
func newWatcher() (*watcher, error) {
return fsnotify.NewWatcher()
}