Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CSVContentType = []string{"application/csv"}
)
CSVContentType
Functions ¶
Types ¶
type CSV ¶
CSV str.
func (CSV) Render ¶
func (j CSV) Render(w http.ResponseWriter) (err error)
Render (JSON) writes data with json ContentType.
func (CSV) WriteContentType ¶
func (j CSV) WriteContentType(w http.ResponseWriter)
WriteContentType fn
type Render ¶
type Render interface { Render(http.ResponseWriter) error WriteContentType(w http.ResponseWriter) }
Render http response render.
Click to show internal directories.
Click to hide internal directories.