()
| 79 | } |
| 80 | |
| 81 | func debugPrintWARNINGDefault() { |
| 82 | if v, e := getMinVer(runtimeVersion); e == nil && v < ginSupportMinGoVer { |
| 83 | debugPrint(`[WARNING] Now Gin requires Go 1.25+. |
| 84 | |
| 85 | `) |
| 86 | } |
| 87 | debugPrint(`[WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. |
| 88 | |
| 89 | `) |
| 90 | } |
| 91 | |
| 92 | func debugPrintWARNINGNew() { |
| 93 | debugPrint(`[WARNING] Running in "debug" mode. Switch to "release" mode in production. |