craban/server/app/app.go

19 lines
295 B
Go
Raw Permalink Normal View History

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 {
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{
Config: config,
Store: store,
2021-09-13 11:16:25 +01:00
}
}