Documentation
¶
Index ¶
- func BindForm(c *gin.Context, obj any) bool
- func BindJSON(c *gin.Context, obj any) bool
- func BindQuery(c *gin.Context, obj any) bool
- func BindUri(c *gin.Context, obj any) bool
- func QueryBool(c *gin.Context, key string) bool
- func QueryFloat(c *gin.Context, key string) float64
- func QueryInt(c *gin.Context, key string) int
- func QueryString(c *gin.Context, key string) string
- func ResponseError(c *gin.Context, err error)
- func ResponseFail(c *gin.Context, code int, message string)
- func ResponseOk(c *gin.Context, data any)
- type Engine
- type Error
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseError ¶
func ResponseOk ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.