Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ Version
Function
Version
commands/install.go:56–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
}
55
56
func
Version() {
57
if
len(os.Args) >= 2 && os.Args[1] ==
"version"
{
58
fmt.Println(conf.VERSION)
59
os.Exit(0)
60
}
61
}
62
63
//初始化数据
64
func
initialization() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected