mirror of https://github.com/VinGarcia/ksql.git
Fix benchmarks/go.mod so it always point the the local ksql copy
parent
e2705f2b8e
commit
e2899617f4
|
@ -10,6 +10,7 @@ import (
|
|||
"github.com/jmoiron/sqlx"
|
||||
_ "github.com/lib/pq"
|
||||
"github.com/vingarcia/ksql"
|
||||
"github.com/vingarcia/ksql/kpgx"
|
||||
)
|
||||
|
||||
var UsersTable = ksql.NewTable("users")
|
||||
|
@ -52,7 +53,7 @@ func BenchmarkInsert(b *testing.B) {
|
|||
})
|
||||
})
|
||||
|
||||
pgxDB, err := ksql.NewWithPGX(ctx, connStr, ksql.Config{
|
||||
pgxDB, err := kpgx.New(ctx, connStr, ksql.Config{
|
||||
MaxOpenConns: 1,
|
||||
})
|
||||
if err != nil {
|
||||
|
|
|
@ -7,3 +7,5 @@ require (
|
|||
github.com/lib/pq v1.10.4
|
||||
github.com/vingarcia/ksql v1.1.0
|
||||
)
|
||||
|
||||
replace github.com/vingarcia/ksql => ../
|
||||
|
|
Loading…
Reference in New Issue