Render renders a template document
(w io.Writer, name string, data any, c echo.Context)
| 27 | |
| 28 | // Render renders a template document |
| 29 | func (t *TemplateRenderer) Render(w io.Writer, name string, data any, c echo.Context) error { |
| 30 | return t.templates.ExecuteTemplate(w, name, data) |
| 31 | } |
| 32 | |
| 33 | func notFoundHandler(c echo.Context) error { |
| 34 | // Check if the request accepts JSON |
no outgoing calls
no test coverage detected