Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResponseErrWrongBodyFormat string = "Wrong body format" ResponseErrWrongData string = "Wrong data" ResponseOK string = "ok" ResponseSuccess string = "success" )
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func PrepareAmountValue ¶
func ResponseWriter ¶
func ResponseWriter(w http.ResponseWriter, statusCode int, message string, data interface{})
Types ¶
type JsonResponse ¶
Click to show internal directories.
Click to hide internal directories.