mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
✨ 增加log
This commit is contained in:
parent
c7a4d228ef
commit
1989d4a61f
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,4 +3,5 @@ data/SetuTime/search
|
|||||||
data/manager
|
data/manager
|
||||||
.idea/
|
.idea/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.vscode
|
.vscode
|
||||||
|
.github/workflows/golint.yml
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
package data
|
package data
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
@ -28,6 +29,7 @@ func init() {
|
|||||||
if LoadText() == nil {
|
if LoadText() == nil {
|
||||||
Array = compo.Array
|
Array = compo.Array
|
||||||
}
|
}
|
||||||
|
fmt.Printf("[Diana]读取%d条小作文\n", len(Array))
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user