gosora/extend/plugin_adventure.go

30 lines
689 B
Go
Raw Normal View History

// 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 "github.com/Azareal/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
}