Files
pocket-id-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)
}