Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
360e1d3644
  1. 6
      internal/application/application.go
  2. 15
      internal/application/demo.go

6
internal/application/application.go

@ -71,6 +71,12 @@ func (app *Application) Run() error {
return err
}
if app.cmdLine.demo {
if err := app.demo(); err != nil {
return err
}
}
app.components.Scheduler.Start()
return nil

15
internal/application/demo.go

@ -0,0 +1,15 @@
/*
------------------------------------------------------------------------------------------------------------------------
####### dune ####### Copyright (c) 2021 losyme ##################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package application
func (app *Application) demo() error {
return nil
}
/*
######################################################################################################## @(°_°)@ #######
*/
Loading…
Cancel
Save