with allocations
This commit is contained in:
parent
a693cbad37
commit
e0e0290dcf
@ -17,7 +17,9 @@ type PluginRegisterBuilder struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewPluginRegisterBuilder() *PluginRegisterBuilder {
|
func NewPluginRegisterBuilder() *PluginRegisterBuilder {
|
||||||
return &PluginRegisterBuilder{}
|
return &PluginRegisterBuilder{
|
||||||
|
plugins: make(map[string]PluginAPI),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (pr *PluginRegisterBuilder) Add(name, path string) *PluginRegisterBuilder {
|
func (pr *PluginRegisterBuilder) Add(name, path string) *PluginRegisterBuilder {
|
||||||
|
Loading…
Reference in New Issue
Block a user