This commit is contained in:
cdle
2021-09-26 20:12:06 +08:00
parent 2127e79e98
commit f38a752fa5
4 changed files with 15 additions and 4 deletions
+2
View File
@@ -8,6 +8,7 @@ import (
"regexp"
"runtime"
"strings"
"time"
"github.com/astaxie/beego/logs"
)
@@ -55,6 +56,7 @@ func CompileCode() error {
if err != nil {
return errors.New("编译失败:" + err.Error() + "。")
}
sillyGirl.Set("compiled_at", time.Now().Format("2006-01-02 15:04:05"))
return nil
}