4a504b0fc6
This function doesn't render anything, it just adds extra data to the template data.
15 lines
237 B
Go
15 lines
237 B
Go
package koushin
|
|
|
|
import (
|
|
"html/template"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
type Plugin interface {
|
|
Name() string
|
|
Filters() template.FuncMap
|
|
SetRoutes(group *echo.Group)
|
|
Inject(name string, data interface{}) error
|
|
Close() error
|
|
}
|