gosora/extend/plugin_adventure.go
Azareal 30de658e15 Experiment with rehoming the plugins.
Shorten more things and eliminate unnecessary bytes.
2019-10-11 10:36:08 +10:00

30 lines
701 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 "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(plugin *c.Plugin) error {
return nil
}
// TODO: Change the signature to return an error?
func deactivateAdventure(plugin *c.Plugin) {
}
func installAdventure(plugin *c.Plugin) error {
return nil
}