spf13--viper/watch.go

12 lines
172 B
Go
Raw Normal View History

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