Documentation
¶
Index ¶
- func BindAndValid(c *gin.Context, form interface{}) error
- func BuildFormErr(errs []*validation.Error) error
- func JsonResponse(ctx *gin.Context, httpCode, retCode int, data interface{})
- func MarkErrors(ctx context.Context, errors []*validation.Error)
- func ProtoBufResponse(ctx *gin.Context, httpCode int, data interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAndValid ¶
func BuildFormErr ¶
func BuildFormErr(errs []*validation.Error) error
func JsonResponse ¶
func MarkErrors ¶
func MarkErrors(ctx context.Context, errors []*validation.Error)
func ProtoBufResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.