From c63c8c8778cb497bba1b3d77e8810d2dd45d2e24 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 8 Jul 2017 09:25:37 +0100 Subject: sandpit folder + experiments with YAML commands and configs --- spooler.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spooler.go') diff --git a/spooler.go b/spooler.go index c0bc8a1..05dcf1a 100644 --- a/spooler.go +++ b/spooler.go @@ -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(){ - -} -- cgit v1.2.3