stats size

This commit is contained in:
shoopea
2021-12-05 16:44:10 +08:00
parent 0c9ac03705
commit 0fd89991d7
3 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ import (
_ "embed"
"encoding/json"
"io/ioutil"
"log"
"time"
"github.com/tidwall/pretty"
@@ -79,6 +80,8 @@ func (c *Config) Load(path string) error {
return err
}
log.Printf("Stats : %d", len(c.Stats))
return c.Save(path)
}