# Functions
BadReqJSONResponse : return response with 400 status.
BadRequest : generates a 400 error.
Camel2Snake : camel case to snake case.
CostTime :.
DBErrorResponse : return DBError response with 2001600 status.
DecodeJwtToken : jwt decode.
Error2String :.
ErrorList2String :.
GetDurationBySeconds :.
GetMessage : return candidate if format is empty.
GetPaginationFromContext : get the pagination from context.
ListJoinWithString :.
LocationNow : return now time in system location.
LocationTime : return time in system location.
MergeGinH : merger h2 to h1.
MySQLError :.
New generates a custom error.
NewRequest : New returns a new GoReq object.
NewUUID : generate uuid.
NotFoundJSONResponse : return response with 404 status.
OKJSONResponse : return response with 400 status.
OKJSONResponseWithMessage : return response with 400 status.
Parse tries to parse a JSON string into an error.
RandSelector :.
RequestClient : http request client for apis layer.
SetupTimeLocation : setup time location from string.
SimpleJSONResponse : simplae http response with default scope.
String2Int : transport string to int.
StringInSlice :.
StringSplit : split a string.
SysErrorJSONResponse : return response with 500 status.
TimeFromISO8601 : time parse from iso8601 string.
TimeToISO8601 : time to iso8601 string.
# Constants
Error Codes.
Error Codes.
HTTP methods we support.
Duplicate entry.
HTTP methods we support.
HTTP methods we support.
Error Codes.
Error Codes.
Error Codes.
node status.
Error Codes.
node status.
HTTP methods we support.
HTTP methods we support.
HTTP methods we support.
HTTP methods we support.
Error Codes.
node status.
Error Codes.
node status.
Error Codes.
Error Codes.
# Structs
Error implements the error interface.
A GoReq is a object storing all request data for client.
Pagination : paginate the data.
RetryConfig is used to config retry parameters.