aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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