diff options
Diffstat (limited to 'spooler.go')
-rw-r--r-- | spooler.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -20,6 +20,7 @@ func parse_request(fname string) (SCORSHmsg, error) { } + func spooler(watcher *fsnotify.Watcher, worker chan SCORSHmsg) { for { @@ -35,10 +36,8 @@ func spooler(watcher *fsnotify.Watcher, worker chan SCORSHmsg) { case err := <-watcher.Errors: log.Println("error:", err) } + } } -func main(){ - -} |