fix
This commit is contained in:
1 parent
a4fce30857
commit
4f150fbf18
4 files changed
+10
-7
No files matched your search
@@ -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" //自动生成证书
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user