package view import "net/http" type Data map[string]interface{} type Engine interface { Load() error Render(w http.ResponseWriter, view string, data Data, layout ...string) }