Connect to db in main
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
Dustin Pianalto 2021-01-20 21:07:23 -09:00
parent fb73d50d86
commit 08a2241d6c

View File

@ -8,6 +8,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/dustinpianalto/disgoman"
"github.com/dustinpianalto/geeksbot/internal/database"
"github.com/dustinpianalto/geeksbot/internal/exts"
)
@ -25,7 +26,7 @@ func main() {
Intents: discordgo.MakeIntent(discordgo.IntentsAll),
}
//postgres.ConnectDatabase(os.Getenv("DATABASE_URL"))
database.ConnectDatabase(os.Getenv("DATABASE_URL"))
//postgres.InitializeDatabase()
//utils.LoadTestData()