Skip to content

Commit

Permalink
added mysql driver
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv8rzim committed Oct 29, 2023
1 parent 4b5fd99 commit 98817c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/compscore/mysql

go 1.20

require github.com/go-sql-driver/mysql v1.7.1
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"context"
"database/sql"
"fmt"

_ "github.com/go-sql-driver/mysql"
)

type optionsStruct struct {
Expand Down

0 comments on commit 98817c2

Please sign in to comment.