package
0.0.0-20241103082932-7e755bc141db
Repository: https://github.com/bridgewwater/gin-api-swagger-temple.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

JsonErr use as handler.JsonErr(c, 0) return.
JsonErrDef use as handler.JsonErrDef(c, errdef.ErrParams) return or use add messages, sep of message use string "; " handler.JsonErrDef(c, errdef.ErrParams, "id", "not found, set id and retry") return.
JsonErrDefErr use as handler.JsonErrDefErr(c, errdef.ErrDatabase, err) return or use add messages, sep of message use string "; " handler.JsonErrDefErr(c, errdef.ErrDatabase, err, "can not found") return.
JsonFail use as handler.JsonFail(c, "fail message") return.
JsonSuccess use as handler.JsonSuccess(c) return.
ParseQueryCommonOffsetAndLimit parse query offset and limit default offset is 0 default limit is 10.