aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar Simon Ser <[email protected]> 2020-01-21 13:40:55 +0100
committerLibravatarLibravatar Simon Ser <[email protected]> 2020-01-21 13:40:55 +0100
commit267999b6e5604a95bcd86417853d4569c7ec5b33 (patch)
treed42144d8bf0c62ed8d9a23587a24d0a7ee0dc239
parentbaae77624773368bf074b63886ac66e00429a173 (diff)
downloadalps-267999b6e5604a95bcd86417853d4569c7ec5b33.tar.gz
alps-267999b6e5604a95bcd86417853d4569c7ec5b33.tar.bz2
alps-267999b6e5604a95bcd86417853d4569c7ec5b33.zip
Update docs with new RegisterPluginLoader function
-rw-r--r--plugin_go.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin_go.go b/plugin_go.go
index 24c4df6..c0f0425 100644
--- a/plugin_go.go
+++ b/plugin_go.go
@@ -67,11 +67,11 @@ type goPluginRoute struct {
// GoPlugin is a helper to create Go plugins.
//
-// Use this struct to define your plugin, then call RegisterPlugin:
+// Use this struct to define your plugin, then call RegisterPluginLoader:
//
// p := GoPlugin{Name: "my-plugin"}
// // Define routes, template functions, etc
-// koushin.RegisterPlugin(p.Plugin())
+// koushin.RegisterPluginLoader(p.Loader())
type GoPlugin struct {
Name string