Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FloatTech/ZeroBot-Plugin-Playground
/ init
Function
init
plugin/draw/draw.go:66–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
64
)
65
66
func
init() {
67
if
!file.IsExist(kanbanPath +
"img"
) {
68
err := os.MkdirAll(kanbanPath+
"img"
, 0755)
69
if
err != nil {
70
panic(err)
71
}
72
}
73
}
74
75
func
init() {
// 主函数
76
en := control.AutoRegister(&ctrl.Options[*zero.Ctx]{
Callers
nothing calls this directly
Calls
2
loadpic
Method · 0.80
dyna
Method · 0.80
Tested by
no test coverage detected