Versions in this module Expand all Collapse all v1 v1.1.21 Sep 5, 2024 Changes in this version + func IFaceCast2Int64(x interface{}) (int64, error) + func IFaceCast2String(x interface{}) (string, error) + func JSONError(ctx *gin.Context, code int, message string) + func JSONErrorf(ctx *gin.Context, code int, format string, args ...interface{}) + func JSONSuccess(ctx *gin.Context, data interface{}) + type JSONResp struct + Code int + Data interface{} + Message string