fixed capitalization of ZoomydApp

title says it
This commit is contained in:
Lazzeruz 2023-12-10 00:05:31 +01:00
parent 788e75749f
commit ad3f83a3bc

View File

@ -55,7 +55,7 @@ func StartApp() error {
defer logger.BackendLog.Close() defer logger.BackendLog.Close()
defer panics.HandlePanic(log, "MAIN", nil) defer panics.HandlePanic(log, "MAIN", nil)
app := &zoomydApp{cfg: cfg} app := &ZoomydApp{cfg: cfg}
// Call serviceMain on Windows to handle running as a service. When // Call serviceMain on Windows to handle running as a service. When
// the return isService flag is true, exit now since we ran as a // the return isService flag is true, exit now since we ran as a
@ -73,7 +73,7 @@ func StartApp() error {
return app.main(nil) return app.main(nil)
} }
func (app *zoomydApp) main(startedChan chan<- struct{}) error { func (app *ZoomydApp) main(startedChan chan<- struct{}) error {
// Get a channel that will be closed when a shutdown signal has been // Get a channel that will be closed when a shutdown signal has been
// triggered either from an OS signal such as SIGINT (Ctrl+C) or from // triggered either from an OS signal such as SIGINT (Ctrl+C) or from
// another subsystem such as the RPC server. // another subsystem such as the RPC server.