diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-10 16:07:02 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-10 16:07:02 +0100 |
commit | 4a504b0fc6d76afa52fbdafde338182c8463f6a0 (patch) | |
tree | cae529e3582ef6987682497011e72b694da97a58 /plugin.go | |
parent | 95da47f7c4522247b7136d14a923d54be5c1a9ae (diff) | |
download | alps-4a504b0fc6d76afa52fbdafde338182c8463f6a0.tar.gz alps-4a504b0fc6d76afa52fbdafde338182c8463f6a0.zip |
Rename Plugin.Render to Plugin.Inject
This function doesn't render anything, it just adds extra data to the
template data.
Diffstat (limited to 'plugin.go')
-rw-r--r-- | plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,6 +10,6 @@ type Plugin interface { Name() string Filters() template.FuncMap SetRoutes(group *echo.Group) - Render(name string, data interface{}) error + Inject(name string, data interface{}) error Close() error } |