增加 监听文件夹数

master
dengsgo 2019-04-01 16:44:16 +08:00
parent 9004aceb91
commit 5f43051ae8
1 changed files with 2 additions and 0 deletions

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