MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / NewFactoryManager

Function NewFactoryManager

log-driver/factory.go:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func NewFactoryManager() *factoryManager {
18 return &factoryManager{factories: eosc.BuildUntyped[string, IFactory]()}
19}
20
21func (m *factoryManager) Set(name string, factory IFactory) {
22 m.factories.Set(name, factory)

Callers 1

factory.goFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected