router/type.go

10 lines
136 B
Go
Raw Normal View History

2018-08-19 17:04:29 +02:00
package router
import (
"io"
)
type Renderer interface {
Render(w io.Writer, template string, data interface{}, c *Context) error
}