1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-05 16:43:51 +00:00
Files
pocket-id/backend/internal/bootstrap/bootstrap.go
2025-01-19 15:30:31 +01:00

15 lines
300 B
Go

package bootstrap
import (
_ "github.com/golang-migrate/migrate/v4/source/file"
"github.com/stonith404/pocket-id/backend/internal/service"
)
func Bootstrap() {
db := newDatabase()
appConfigService := service.NewAppConfigService(db)
initApplicationImages()
initRouter(db, appConfigService)
}