2023-05-26 21:20:11 +10:00
|
|
|
//go:build production
|
|
|
|
|
|
|
|
|
|
package application
|
|
|
|
|
|
2023-09-01 22:06:43 +10:00
|
|
|
func newApplication(options Options) *App {
|
2023-08-13 15:28:30 +10:00
|
|
|
result := &App{
|
|
|
|
|
isDebugMode: false,
|
2023-09-01 22:06:43 +10:00
|
|
|
options: options,
|
2023-05-26 21:20:11 +10:00
|
|
|
}
|
2023-08-13 15:28:30 +10:00
|
|
|
result.init()
|
|
|
|
|
return result
|
2023-05-26 21:20:11 +10:00
|
|
|
}
|
2023-08-13 16:52:39 +10:00
|
|
|
|
|
|
|
|
func (a *App) logStartup() {}
|
2024-01-19 21:34:49 +11:00
|
|
|
|
|
|
|
|
func (a *App) preRun() error { return nil }
|
2024-01-21 20:52:08 +11:00
|
|
|
|
|
|
|
|
func (a *App) postQuit() error { return nil }
|