mirror of
https://github.com/NotAShelf/catApi.git
synced 2024-11-30 10:26:45 +00:00
12 lines
252 B
Go
12 lines
252 B
Go
|
//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()
|
||
|
}
|