Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/DocHub
/ init
Function
init
models/Models.go:43–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
func
init() {
44
//如果存在app.conf文件,则表示程序已安装,执行数据库初始化
45
if
helper.IsInstalled {
46
Init()
47
}
48
}
49
50
//初始化数据库注册
51
func
Init() {
Callers
nothing calls this directly
Calls
1
Init
Function · 0.85
Tested by
no test coverage detected