Mise à jour de 'main.go'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julien Leicher 2023-05-05 17:54:03 +02:00
parent 29f51fe8db
commit 99cf56ecd1

View File

@ -14,7 +14,7 @@ func main() {
dsn := os.Getenv("DSN") dsn := os.Getenv("DSN")
if dsn == "" { if dsn == "" {
panic("db connection string should be set with the DSN env variable!") panic("db connection string should be set with the DSN env variable!!")
} }
db, err := sql.Open("postgres", dsn) db, err := sql.Open("postgres", dsn)