This commit is contained in:
jinnrry committed 2024-03-01 21:27:02 +08:00
1 parent a4fce30857
commit 4f150fbf18
4 files changed
+10 -7

No files matched your search

-2
View File
@@ -41,8 +41,6 @@ type Config struct {
//go:embed tables/*
var tableConfig embed.FS
const Version = "2.4.0"
const DBTypeMySQL = "mysql"
const DBTypeSQLite = "sqlite"
const SSLTypeAuto = "0" //自动生成证书
+4
View File
@@ -74,6 +74,10 @@ func main() {
log.SetLevel(log.InfoLevel)
}
if version == "" {
version = "2.4.0"
}
log.Infoln("***************************************************")
log.Infof("***\tServer Start Success Version:%s\n", version)
log.Infof("***\tGit Commit Hash: %s ", gitHash)