Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteAsJSON ¶
func WriteAsJSON(w http.ResponseWriter, data interface{})
WriteAsJSON marshals the give data argument into JSON and writes it to the `http.ResponseWriter`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.