Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 312 Bytes
package render
import "io"
// Renderer interface that must be satisfied to be used with
// buffalo.Context.Render
type Renderer interface {
ContentType() string
Render(io.Writer, Data) error
}
// Data type to be provided to the Render function on the
// Renderer interface.
type Data map[string]interface{}
You can’t perform that action at this time.