2021-09-12 20:57:59 +01:00
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
2021-09-13 11:16:25 +01:00
|
|
|
"git.ctrlz.es/mgdelacroix/craban/app"
|
2021-09-12 20:57:59 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
type API struct {
|
2021-09-13 11:16:25 +01:00
|
|
|
App *app.App
|
2021-09-12 20:57:59 +01:00
|
|
|
}
|
|
|
|
|
2021-09-13 11:16:25 +01:00
|
|
|
func NewAPI(app *app.App) *API {
|
|
|
|
return &API{App: app}
|
2021-09-12 20:57:59 +01:00
|
|
|
}
|