Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteJSON ¶
func WriteJSON(w http.ResponseWriter, obj interface{}) error
func WriteString ¶
func WriteString(w http.ResponseWriter, format string, data []interface{})
Types ¶
type HTMLProduction ¶
func (HTMLProduction) Instance ¶
func (r HTMLProduction) Instance(name string, data interface{}) Render
type HTMLRender ¶
type IndentedJSON ¶
type IndentedJSON struct {
Data interface{}
}
func (IndentedJSON) Render ¶
func (r IndentedJSON) Render(w http.ResponseWriter) error
type Render ¶
type Render interface {
Render(http.ResponseWriter) error
}
Click to show internal directories.
Click to hide internal directories.