Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
func ReturnJSON ¶
func ReturnJSON(w http.ResponseWriter, data interface{})
ReturnJSON writes JSON to the response body
func SubsliceExists ¶
func ValidateStruct ¶
func ValidateStruct(v interface{}) error
ValidateStruct validates the struct and returns error if there is any invalid values
Types ¶
Click to show internal directories.
Click to hide internal directories.