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

12 lines
172 B
Go

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