18 lines
295 B
Go
18 lines
295 B
Go
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
|
|
}
|
|
|
|
func NewApp(config *model.Config, store *store.Store) *App {
|
|
return &App{
|
|
config: config,
|
|
store: store,
|
|
}
|
|
}
|