add tests for get plugins

This commit is contained in:
2022-11-02 16:48:33 +01:00
parent a5859107f1
commit ebc2d7aa8f
3 changed files with 112 additions and 5 deletions

View File

@@ -87,7 +87,8 @@ func (cspn CharSchemaPluginName) Get() (*PluginOps, error) {
return po, nil
}
type CharSchemaPlugins map[CharSchemaPluginName]CharSchemaPlugin
type CharSchemaPlugins map[CharSchemaPluginName]*CharSchemaPlugin
type CharSchemaPlugin struct {
Opts *PluginOps
}