Skip to content

Commit

Permalink
Reverted back example imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo committed Feb 28, 2019
1 parent 7b89f04 commit 314ebd6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions examples/basic/basic.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package main

import (
"database/sql"

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

func recordStats(db *sql.DB, userID, productID int64) (err error) {
tx, err := db.Begin()
Expand Down
2 changes: 0 additions & 2 deletions examples/blog/blog.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"database/sql"
"encoding/json"
"net/http"

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

type api struct {
Expand Down
1 change: 0 additions & 1 deletion examples/orders/orders.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"log"

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

const ORDER_PENDING = 0
Expand Down

0 comments on commit 314ebd6

Please sign in to comment.