Documentation ¶
Index ¶
- func FloatParam(c *gin.Context, key string) (i float64, err error)
- func FloatQuery(c *gin.Context, key string) (i float64, err error)
- func IntParam(c *gin.Context, key string) (i int64, err error)
- func IntQuery(c *gin.Context, key string) (i int64, err error)
- func JSON(c *gin.Context, status int, value interface{}, err error)
- type ErrorResponse
- type LogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatParam ¶ added in v0.3.6
func FloatQuery ¶ added in v0.3.6
Types ¶
type ErrorResponse ¶ added in v0.3.5
type ErrorResponse struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.