MCPcopy 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
66func 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
75func init() { // 主函数
76 en := control.AutoRegister(&ctrl.Options[*zero.Ctx]{

Callers

nothing calls this directly

Calls 2

loadpicMethod · 0.80
dynaMethod · 0.80

Tested by

no test coverage detected