router/type.go

11 lines
167 B
Go
Raw Normal View History

2018-08-19 17:04:29 +02:00
package router
import (
"io"
)
2018-11-30 14:48:07 +01:00
// Renderer renders a template
2018-08-19 17:04:29 +02:00
type Renderer interface {
Render(w io.Writer, template string, data interface{}, c *Context) error
}