Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/APIParkLab/APIPark
/ RegisterFactory
Function
RegisterFactory
log-driver/factory.go:29–31 ·
view source on GitHub ↗
(name string, factory IFactory)
Source
from the content-addressed store, hash-verified
27
}
28
29
func
RegisterFactory(name string, factory IFactory) {
30
defaultFactoryManager.Set(name, factory)
31
}
32
33
func
GetFactory(name string) (IFactory, bool) {
34
return
defaultFactoryManager.Get(name)
Callers
nothing calls this directly
Calls
1
Set
Method · 0.65
Tested by
no test coverage detected