2021-09-13 11:16:25 +01:00
|
|
|
package app
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.ctrlz.es/mgdelacroix/craban/model"
|
|
|
|
"git.ctrlz.es/mgdelacroix/craban/services/store"
|
|
|
|
)
|
|
|
|
|
|
|
|
type App struct {
|
2021-09-13 13:52:00 +01:00
|
|
|
Config *model.Config
|
|
|
|
Store *store.Store
|
2021-09-13 11:16:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewApp(config *model.Config, store *store.Store) *App {
|
|
|
|
return &App{
|
2021-09-13 13:52:00 +01:00
|
|
|
Config: config,
|
|
|
|
Store: store,
|
2021-09-13 11:16:25 +01:00
|
|
|
}
|
|
|
|
}
|