init
This commit is contained in:
parent
32615fe647
commit
2ce8e09cae
3
main.go
3
main.go
|
|
@ -15,8 +15,7 @@ func main() {
|
||||||
|
|
||||||
// Retrieve database connection information from environment variables
|
// Retrieve database connection information from environment variables
|
||||||
dsn := os.Getenv("BAZA")
|
dsn := os.Getenv("BAZA")
|
||||||
log.Println(dsn)
|
log.Println("DSN => ", dsn)
|
||||||
|
|
||||||
// Connect to the database
|
// Connect to the database
|
||||||
/*db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
|
/*db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue