github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/extend/plugin_adventure.go (about) 1 // WIP - Experimental adventure plugin, this might find a new home soon, but it's here to stress test Gosora's extensibility for now 2 package extend 3 4 import c "github.com/Azareal/Gosora/common" 5 6 func init() { 7 c.Plugins.Add(&c.Plugin{ 8 UName: "adventure", 9 Name: "Adventure", 10 Tag: "WIP", 11 Author: "Azareal", 12 URL: "https://github.com/Azareal", 13 Init: initAdventure, 14 Deactivate: deactivateAdventure, 15 Install: installAdventure, 16 }) 17 } 18 19 func initAdventure(pl *c.Plugin) error { 20 return nil 21 } 22 23 // TODO: Change the signature to return an error? 24 func deactivateAdventure(pl *c.Plugin) { 25 } 26 27 func installAdventure(pl *c.Plugin) error { 28 return nil 29 }