SetProductionMode set run mode on production mode
()
| 220 | |
| 221 | // SetProductionMode set run mode on production mode |
| 222 | func (app *DotWeb) SetProductionMode() { |
| 223 | app.Config.App.RunMode = RunMode_Production |
| 224 | app.appLog.SetEnabledConsole(true) |
| 225 | } |
| 226 | |
| 227 | // ExcludeUse registers a middleware exclude routers |
| 228 | // like exclude /index or /query/:id |
nothing calls this directly
no test coverage detected