summaryrefslogtreecommitdiff
path: root/spooler.go
diff options
context:
space:
mode:
Diffstat (limited to 'spooler.go')
-rw-r--r--spooler.go5
1 files changed, 2 insertions, 3 deletions
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(){
-
-}