viper/watch.go

13 lines
187 B
Go
Raw Permalink Normal View History

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