1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

integrate the web server into the startup logic

This commit is contained in:
Lukas Schulte Pelkum
2023-06-08 19:44:32 +02:00
parent a24be8b2ff
commit dc16506932
4 changed files with 47 additions and 6 deletions

View File

@@ -54,7 +54,6 @@ func (driver *Driver) Initialize(ctx context.Context) error {
pool.Close()
return err
}
log.Info().Msg("Successfully performed PostgreSQL database migrations.")
driver.connPool = pool
driver.pastes = &pasteRepository{