Grouping Commands in Modules
What are Modules?
Creating a Module
package mod
import (
"github.com/mavolin/adam/pkg/impl/module"
"github.com/mavolin/adam/pkg/plugin"
)
// New creates a new moderation module.
func New() plugin.Module {
return module.New(module.Meta{Name: "mod"}})
}Adding Plugins
Last updated
Was this helpful?