spf13--viper/watch.go

13 lines
200 B
Go
Raw Normal View History

//go:build !js && !aix
// +build !js,!aix
package viper
import "github.com/fsnotify/fsnotify"
type watcher = fsnotify.Watcher
func newWatcher() (*watcher, error) {
return fsnotify.NewWatcher()
}