Versions in this module Expand all Collapse all v1 v1.1.0 Feb 7, 2022 Changes in this version + func GetErrorMessage(err error) string + func GetErrorStatus(err error) int + func NewCustomError(statusCode int, message string) *customError + func NewResponseHTTP(statusCode int, payload interface{}) *responseHttp + type CustomError interface + DefaultLogResponse func() + type ResponseHTTP interface + ErrorJSON func(rw http.ResponseWriter, ce customError) + ResponseJSON func(rw http.ResponseWriter, resp *responseHttp) v1.0.0 Nov 1, 2021