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

12 lines
252 B
Go
Raw Normal View History

2023-10-27 07:01:55 +00:00
//go: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()
}