init
This commit is contained in:
parent
26f5ca2034
commit
ac051b1987
3
main.go
3
main.go
|
|
@ -1,6 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"gorm.io/driver/mysql"
|
"gorm.io/driver/mysql"
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
"log"
|
"log"
|
||||||
|
|
@ -14,6 +15,8 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
|
fmt.Println("main started")
|
||||||
|
|
||||||
// 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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue