增加 监听文件夹数

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"
"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.")
}