Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
func JSON(w http.ResponseWriter, value interface{}, optional ...any) error
JSON marshals the value as JSON and writes it to the response writer. with status code (compat with .JSON)
JSON(w, value) JSON(w, value, statusCode)
func ReadYAMLIntoStruct ¶
Reads YAML-File into specified struct
Types ¶
Click to show internal directories.
Click to hide internal directories.