增加 监听文件夹数

This commit is contained in:
dengsgo 2019-04-01 16:44:16 +08:00
parent 9004aceb91
commit 5f43051ae8

View File

@ -9,6 +9,7 @@ import (
"math/rand" "math/rand"
"os" "os"
"path" "path"
"strconv"
"strings" "strings"
"time" "time"
) )
@ -134,6 +135,7 @@ func addWatcher() {
log.Fatalln(err) log.Fatalln(err)
} }
} }
log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap)))
log.Println("fileboy is ready.") log.Println("fileboy is ready.")
} }