package
0.0.0-20240115083310-3363d21516c9
Repository: https://github.com/dot123/gin-gorm-admin.git
Documentation: pkg.go.dev
# Functions
Bind checks the Method and Content-Type to select a binding engine automatically.
GetBodyData Get body data from context.
GetPage 获取每页数量.
GetToken Get jwt token from header (Authorization: Bearer xxx).
ParseForm Parse body form data to struct.
ParseJSON Parse body json data to struct.
ParseParamID Param returns the value of the URL param.
ParseQuery Parse query parameter to struct.
ResData 数据返回.
Response error object and parse error status code.
ResJSON 返回JSON数据.
ResOk 返回操作成功.