Documentation ¶
Index ¶
- func GetParamInt(c *gin.Context, name string) (int, error)
- func Into[T any](c *gin.Context, request T) (T, error)
- func IntoAndValidate[T any](c *gin.Context, validator binding.StructValidator, request T) (*T, error)
- func IntoWithDecorator[T any](c *gin.Context, request T, decorator func(request *T) *T) (*T, error)
- func ShouldBindURI(c *gin.Context, obj interface{}) error
- type APIRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntoAndValidate ¶
func IntoWithDecorator ¶
func ShouldBindURI ¶
ShouldBindURI binds the passed struct pointer using the specified binding engine.
Types ¶
type APIRequest ¶
type APIRequest interface{}
Click to show internal directories.
Click to hide internal directories.