()
| 90 | } |
| 91 | |
| 92 | func debugPrintWARNINGNew() { |
| 93 | debugPrint(`[WARNING] Running in "debug" mode. Switch to "release" mode in production. |
| 94 | - using env: export GIN_MODE=release |
| 95 | - using code: gin.SetMode(gin.ReleaseMode) |
| 96 | |
| 97 | `) |
| 98 | } |
| 99 | |
| 100 | func debugPrintWARNINGSetHTMLTemplate() { |
| 101 | debugPrint(`[WARNING] Since SetHTMLTemplate() is NOT thread-safe. It should only be called |