Documentation ¶
Index ¶
- func CorsMiddleware() gin.HandlerFunc
- func D(a string) decimal.Decimal
- func Float2String(f float64, toFix int) string
- func FormatDecimal(d string, digit int) string
- func Hash256(data any) string
- func NumberFix(a string, toFix int) string
- func ResponseFailJson(ctx *gin.Context, reason string)
- func ResponseOkJson(ctx *gin.Context, data any)
- func S2F64(a string) float64
- func S2Int(a string) int
- func S2Int64(a string) int64
- type DeciStr
- type Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CorsMiddleware ¶
func CorsMiddleware() gin.HandlerFunc
func Float2String ¶
func FormatDecimal ¶
func ResponseFailJson ¶
func ResponseOkJson ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.