Add default plugin loader
This commit is contained in:
parent
b6c6b13277
commit
3bfbcd5e6a
@ -23,6 +23,11 @@ type Config struct {
|
||||
NewFunc interface{}
|
||||
}
|
||||
|
||||
var (
|
||||
// Default plugin loader
|
||||
DefaultPlugin = NewPlugin()
|
||||
)
|
||||
|
||||
// NewPlugin creates a new plugin interface
|
||||
func NewPlugin() Plugin {
|
||||
return &plugin{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user