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

Method Set

log-driver/factory.go:21–23  ·  view source on GitHub ↗
(name string, factory IFactory)

Source from the content-addressed store, hash-verified

19}
20
21func (m *factoryManager) Set(name string, factory IFactory) {
22 m.factories.Set(name, factory)
23}
24
25func (m *factoryManager) Get(name string) (IFactory, bool) {
26 return m.factories.Get(name)

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected