This commit is contained in:
merdan 2023-05-03 13:51:14 +05:00
parent 32615fe647
commit 2ce8e09cae
1 changed files with 1 additions and 2 deletions

View File

@ -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 {