fehlerbehebung
This commit is contained in:
parent
0e458847e7
commit
4891a786d2
|
@ -2,6 +2,8 @@ package main
|
|||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
func dbConnect(username string, password string, address string, port string, database string) *sql.DB {
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,3 +1,5 @@
|
|||
module xoy.dev/ctdo
|
||||
|
||||
go 1.19
|
||||
|
||||
require github.com/go-sql-driver/mysql v1.7.0 // indirect
|
||||
|
|
Loading…
Reference in New Issue