Fix go modules
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+ project.
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
pgxpool "github.com/jackc/pgx/pool"
|
||||
pgxpool "github.com/jackc/pgx/v4/pool"
|
||||
)
|
||||
|
||||
var pool *pgxpool.Pool
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/jackc/pgx"
|
||||
"github.com/jackc/pgx/v4"
|
||||
)
|
||||
|
||||
var conn *pgx.Conn
|
||||
|
||||
@@ -10,8 +10,8 @@ func main() {
|
||||
// "net/http"
|
||||
// "os"
|
||||
|
||||
// "github.com/jackc/pgx"
|
||||
// "github.com/jackc/pgx/log/log15adapter"
|
||||
// "github.com/jackc/pgx/v4"
|
||||
// "github.com/jackc/pgx/v4/log/log15adapter"
|
||||
// log "gopkg.in/inconshreveable/log15.v2"
|
||||
// )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user