Versions in this module Expand all Collapse all v2 v2.0.1 Apr 22, 2026 v2.0.0 Apr 22, 2026 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 Other modules containing this package github.com/GuanceCloud/cliutils