MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / init

Function init

module/dynamic-module/driver/load.go:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13)
14
15func init() {
16 err := LoadPlugins(&pluginDir, "embed", "plugin.yml")
17 if err != nil {
18 panic(err)
19 }
20}
21
22func LoadPlugins(fs *embed.FS, dir string, target string) error {
23 entries, err := fs.ReadDir(dir)

Callers

nothing calls this directly

Calls 1

LoadPluginsFunction · 0.85

Tested by

no test coverage detected