2
0

Fix go modules

Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+
project.
This commit is contained in:
Jack Christensen
2019-04-20 17:41:08 -05:00
parent b7e56b003a
commit efb333df6b
116 changed files with 210 additions and 226 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt"
"os"
pgxpool "github.com/jackc/pgx/pool"
pgxpool "github.com/jackc/pgx/v4/pool"
)
var pool *pgxpool.Pool
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"strconv"
"github.com/jackc/pgx"
"github.com/jackc/pgx/v4"
)
var conn *pgx.Conn
+2 -2
View File
@@ -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"
// )