From 5f43051ae87654e0bf594100061d2a9bc19ffc67 Mon Sep 17 00:00:00 2001 From: dengsgo Date: Mon, 1 Apr 2019 16:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E7=9B=91=E5=90=AC?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fileboy.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fileboy.go b/fileboy.go index 53fc812..a3e18ae 100644 --- a/fileboy.go +++ b/fileboy.go @@ -9,6 +9,7 @@ import ( "math/rand" "os" "path" + "strconv" "strings" "time" ) @@ -134,6 +135,7 @@ func addWatcher() { log.Fatalln(err) } } + log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap))) log.Println("fileboy is ready.") }