MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / GetModuleByName

Function GetModuleByName

user/module/register.go:26–32  ·  view source on GitHub ↗

GetModulesByName 根据模块名获取modules列表

(modName string)

Source from the content-addressed store, hash-verified

24
25// GetModulesByName 根据模块名获取modules列表
26func GetModuleByName(modName string) IModule {
27 m, f := modules[modName]
28 if f {
29 return m.Clone()
30 }
31 return nil
32}

Callers 2

BrkItFunction · 0.92
runFuncFunction · 0.92

Calls 1

CloneMethod · 0.65

Tested by

no test coverage detected