(v ...any)
| 91 | } |
| 92 | |
| 93 | func FatalLog(v ...any) { |
| 94 | t := time.Now() |
| 95 | _, _ = fmt.Fprintf(gin.DefaultErrorWriter, "[FATAL] %v | %v \n", t.Format("2006/01/02 - 15:04:05"), v) |
| 96 | os.Exit(1) |
| 97 | } |
| 98 | |
| 99 | func LogQuota(quota int) string { |
| 100 | if DisplayInCurrencyEnabled { |
no outgoing calls
no test coverage detected