diff options
author | 2020-01-21 13:40:55 +0100 | |
---|---|---|
committer | 2020-01-21 13:40:55 +0100 | |
commit | 267999b6e5604a95bcd86417853d4569c7ec5b33 (patch) | |
tree | d42144d8bf0c62ed8d9a23587a24d0a7ee0dc239 | |
parent | baae77624773368bf074b63886ac66e00429a173 (diff) | |
download | alps-267999b6e5604a95bcd86417853d4569c7ec5b33.tar.gz alps-267999b6e5604a95bcd86417853d4569c7ec5b33.tar.bz2 alps-267999b6e5604a95bcd86417853d4569c7ec5b33.zip |
Update docs with new RegisterPluginLoader function
-rw-r--r-- | plugin_go.go | 4 |
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 |