Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMarshal ¶
JSONMarshal converts the data and converts special characters such as &
func SendError ¶
func SendError(w http.ResponseWriter, error []error, indentJSON bool)
SendError creates an ErrorResponse message and sets it to the user using SendJSONResponse
func SendJSONResponse ¶
func SendJSONResponse(w http.ResponseWriter, status int, data interface{}, qo *odata.QueryOptions, indentJSON bool)
SendJSONResponse sends the desired message to the user the message will be marshalled into JSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.