Versions in this module Expand all Collapse all v0 v0.2.1 Aug 7, 2023 Changes in this version + func WrapF(f HandlerFunc) gin.HandlerFunc + func WrapFD(f HandlerDataFunc) gin.HandlerFunc + func WrapH(h Handler) gin.HandlerFunc + type Duration time.Duration + func (d Duration) MarshalJSON() (b []byte, err error) + type Handler interface + Handle func(c *gin.Context, log logrus.FieldLogger) (any, error) + Validate func(c *gin.Context) error + type HandlerDataFunc func(c *gin.Context, log logrus.FieldLogger) (any, error) + type HandlerFunc func(c *gin.Context, log logrus.FieldLogger) error + type Pagination struct + Page int + PerPage int + type Response struct + Code string + CostTime Duration + Data any + EndTime time.Time + Message string + StartTime time.Time + Success bool + TraceID string + type Search struct + Keyword string