This commit is contained in:
1-6
2023-08-09 10:52:34 +08:00
parent 70bad0cc52
commit 2b19690add
12 changed files with 67 additions and 109 deletions
-5
View File
@@ -18,7 +18,6 @@ import (
"github.com/cdle/sillyplus/utils"
)
var DataHome = utils.GetDataHome()
var version = compiled_at
func GetVersion() (string, error) {
@@ -46,10 +45,6 @@ func Init() {
}()
initLoc()
sillyGirl = MakeBucket("sillyGirl")
_, err := os.Stat(DataHome)
if err != nil {
os.MkdirAll(DataHome, os.ModePerm)
}
// utils.ReadYaml(utils.ExecPath+"/conf/", &Config, "https://raw.githubusercontent.com/cdle/sillyplus/main/conf/demo_config.yaml")
initToHandleMessage()
sillyGirl.Set("compiled_at", compiled_at)