Skip to content

Commit 98817c2

Browse files
committed
added mysql driver
1 parent 4b5fd99 commit 98817c2

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

go.mod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/compscore/mysql
2+
3+
go 1.20
4+
5+
require github.com/go-sql-driver/mysql v1.7.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
2+
github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import (
44
"context"
55
"database/sql"
66
"fmt"
7+
8+
_ "github.com/go-sql-driver/mysql"
79
)
810

911
type optionsStruct struct {

0 commit comments

Comments
 (0)