gosora/extend/plugin_adventure.go

30 lines
685 B
Go

// WIP - Experimental adventure plugin, this might find a new home soon, but it's here to stress test Gosora's extensibility for now
package extend
import c "git.tuxpa.in/a/gosora/common"
func init() {
c.Plugins.Add(&c.Plugin{
UName: "adventure",
Name: "Adventure",
Tag: "WIP",
Author: "Azareal",
URL: "https://github.com/Azareal",
Init: initAdventure,
Deactivate: deactivateAdventure,
Install: installAdventure,
})
}
func initAdventure(pl *c.Plugin) error {
return nil
}
// TODO: Change the signature to return an error?
func deactivateAdventure(pl *c.Plugin) {
}
func installAdventure(pl *c.Plugin) error {
return nil
}