From 267999b6e5604a95bcd86417853d4569c7ec5b33 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 21 Jan 2020 13:40:55 +0100 Subject: [PATCH] Update docs with new RegisterPluginLoader function --- plugin_go.go | 4 ++-- 1 file 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