mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-05-13 21:56:39 +02:00
Reverted back example imports
This commit is contained in:
parent
7b89f04a98
commit
314ebd6022
@ -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()
|
||||
|
@ -4,8 +4,6 @@ import (
|
||||
"database/sql"
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
type api struct {
|
||||
|
@ -6,7 +6,6 @@ import (
|
||||
"log"
|
||||
|
||||
"github.com/kisielk/sqlstruct"
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
const ORDER_PENDING = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user