Connect to db in main
This commit is contained in:
parent
df8f8f2fa6
commit
f1df8472ef
@ -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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user