增加log

This commit is contained in:
fumiama 2021-08-06 21:23:15 +08:00
parent c7a4d228ef
commit 1989d4a61f
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ data/manager
.idea/
.DS_Store
.vscode
.github/workflows/golint.yml

View File

@ -2,6 +2,7 @@
package data
import (
"fmt"
"io"
"os"
"time"
@ -28,6 +29,7 @@ func init() {
if LoadText() == nil {
Array = compo.Array
}
fmt.Printf("[Diana]读取%d条小作文\n", len(Array))
}()
}