router/type.go
2018-12-03 13:19:57 +01:00

11 lines
167 B
Go

package router
import (
"io"
)
// Renderer renders a template
type Renderer interface {
Render(w io.Writer, template string, data interface{}, c *Context) error
}