Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONResponse ¶
func JSONResponse(w http.ResponseWriter, statusCode int, body any)
JSONResponse response body with json format
func NewHandleFunc ¶
func StringTrimSpaceHookFunc ¶
func StringTrimSpaceHookFunc() mapstructure.DecodeHookFunc
StringTrimSpaceHookFunc returns a DecodeHookFunc that trim string space
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.