Skip to content

Commit 314ebd6

Browse files
author
Theo
committed
Reverted back example imports
1 parent 7b89f04 commit 314ebd6

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

examples/basic/basic.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package main
22

3-
import (
4-
"database/sql"
5-
6-
_ "github.com/go-sql-driver/mysql"
7-
)
3+
import "database/sql"
84

95
func recordStats(db *sql.DB, userID, productID int64) (err error) {
106
tx, err := db.Begin()

examples/blog/blog.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import (
44
"database/sql"
55
"encoding/json"
66
"net/http"
7-
8-
_ "github.com/go-sql-driver/mysql"
97
)
108

119
type api struct {

examples/orders/orders.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"log"
77

88
"github.com/kisielk/sqlstruct"
9-
_ "github.com/go-sql-driver/mysql"
109
)
1110

1211
const ORDER_PENDING = 0

0 commit comments

Comments
 (0)