Versions in this module Expand all Collapse all v1 v1.0.1 Jan 5, 2022 Changes in this version + const MessageError + const MessageWarn + const Notification + const Page + const Silent + func Custum(c *gin.Context, data gin.H) + func Error(c *gin.Context, errCode string, errMsg string, showType string) + func OK(c *gin.Context, data interface{}) + func PageOK(c *gin.Context, result interface{}, total int, current int, pageSize int) + type Pages struct + Current int + Data interface{} + PageSize int + Total int + type Response struct + ErrorCode string + ErrorMessage string + Host string + ShowType string + Success bool + TraceId string