mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-07 05:42:57 +03:00
15 lines
300 B
Go
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)
|
|
}
|