🎨 Clean code
This commit is contained in:
parent
a2acca08b8
commit
6575ee65ed
2 changed files with 3 additions and 4 deletions
|
@ -8,8 +8,6 @@ github.com/88250/go-sqlite3 v1.14.13-0.20220714142610-fbbda1ee84f5 h1:8HdZozCsXS
|
|||
github.com/88250/go-sqlite3 v1.14.13-0.20220714142610-fbbda1ee84f5/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
|
||||
github.com/88250/gulu v1.2.3-0.20230501031728-4d62370997cd h1:PgbmnoTqfVbYyhUljovnAz6l/oWPlbM1d5yrkVDHO1w=
|
||||
github.com/88250/gulu v1.2.3-0.20230501031728-4d62370997cd/go.mod h1:pTWnjt+6qUqNnP9xltswsJxgCBVu3C7eW09u48LWX0k=
|
||||
github.com/88250/lute v1.7.6-0.20230605111712-21754836ff70 h1:1cMGprniVmAG1+vUFOdrzaRRUNQQQN5v2RmEmrrIV/k=
|
||||
github.com/88250/lute v1.7.6-0.20230605111712-21754836ff70/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg=
|
||||
github.com/88250/lute v1.7.6-0.20230608014232-e10343eb445d h1:D3HPp3lcibUYqq6hu/dPP6rx+To23VyE96eMBhwFoNg=
|
||||
github.com/88250/lute v1.7.6-0.20230608014232-e10343eb445d/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg=
|
||||
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0=
|
||||
|
|
|
@ -38,8 +38,6 @@ import (
|
|||
"github.com/siyuan-note/logging"
|
||||
)
|
||||
|
||||
const DatabaseVer = "20220501" // 修改表结构的话需要修改这里
|
||||
|
||||
// IsUILoaded 是否已经加载了 UI。
|
||||
var IsUILoaded = false
|
||||
|
||||
|
@ -65,6 +63,9 @@ var IsExiting = false
|
|||
// MobileOSVer 移动端操作系统版本。
|
||||
var MobileOSVer string
|
||||
|
||||
// DatabaseVer 数据库版本。修改表结构的话需要修改这里。
|
||||
const DatabaseVer = "20220501"
|
||||
|
||||
func logBootInfo() {
|
||||
plat := GetOSPlatform()
|
||||
logging.LogInfof("kernel is booting:\n"+
|
||||
|
|
Loading…
Add table
Reference in a new issue