Add Renderer

This commit is contained in:
Nise Void 2018-08-19 17:04:29 +02:00
parent 78000acf6c
commit ae68248d25
Signed by: NiseVoid
GPG key ID: FBA14AC83EA602F3
3 changed files with 29 additions and 10 deletions

9
type.go Normal file
View file

@ -0,0 +1,9 @@
package router
import (
"io"
)
type Renderer interface {
Render(w io.Writer, template string, data interface{}, c *Context) error
}