Skip to content

Commit

Permalink
feat: 🎸 dump sqlx v3
Browse files Browse the repository at this point in the history
BREAKING CHANGE: 🧨 切换v1版本
  • Loading branch information
zboyco committed Nov 9, 2023
1 parent c2fa6fb commit 3c1b00e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package confpostgres
import (
"context"

"github.com/kunlun-qilian/sqlx/v2"
"github.com/kunlun-qilian/sqlx/v3"
)

type contextKeyDBExecutor int
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/go-courier/envconf v1.4.0
github.com/kunlun-qilian/sqlx/v2 v2.24.0
github.com/kunlun-qilian/sqlx/v3 v3.0.0
github.com/onsi/gomega v1.30.0
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa02
github.com/klauspost/cpuid/v2 v2.2.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc=
github.com/klauspost/cpuid/v2 v2.2.6/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/kunlun-qilian/sqlx/v2 v2.24.0 h1:s5dh4HunXduvZhDZundj1Ubm8b1Uf647xf9qljt2yqw=
github.com/kunlun-qilian/sqlx/v2 v2.24.0/go.mod h1:U+lDk20JALsCoCka7y2h/T1nHDKXRyey76aC76hIuTg=
github.com/kunlun-qilian/sqlx/v3 v3.0.0 h1:MNyIiqvANicjo/YDvLiBWkoUVNWiqRctuvtnrkv6R84=
github.com/kunlun-qilian/sqlx/v3 v3.0.0/go.mod h1:bsH+ucpTtsKPRdRfnVnhaexqwepz6BirfIQcNTxxTe0=
github.com/kunlun-qilian/utils v0.0.2 h1:+z2R/uWMJYOq58pPNQcVAW6MYs9wBt3e3iE1FAjU//s=
github.com/kunlun-qilian/utils v0.0.2/go.mod h1:PaaQf7IYdXU1esSPWB3TdMHPM5kuP8WhB8xIE/G0Xqc=
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
Expand Down
4 changes: 2 additions & 2 deletions postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"time"

"github.com/kunlun-qilian/sqlx/v2/postgresqlconnector"
"github.com/kunlun-qilian/sqlx/v3/postgresqlconnector"

"github.com/go-courier/envconf"
"github.com/kunlun-qilian/sqlx/v2"
"github.com/kunlun-qilian/sqlx/v3"
)

type Postgres struct {
Expand Down
4 changes: 2 additions & 2 deletions postgres_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"time"

"github.com/go-courier/envconf"
"github.com/kunlun-qilian/sqlx/v2"
"github.com/kunlun-qilian/sqlx/v2/postgresqlconnector"
"github.com/kunlun-qilian/sqlx/v3"
"github.com/kunlun-qilian/sqlx/v3/postgresqlconnector"
)

type PostgresEndpoint struct {
Expand Down
2 changes: 1 addition & 1 deletion postgres_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/onsi/gomega"

"github.com/kunlun-qilian/sqlx/v2"
"github.com/kunlun-qilian/sqlx/v3"
)

func TestEndpoint(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/onsi/gomega"

"github.com/kunlun-qilian/sqlx/v2"
"github.com/kunlun-qilian/sqlx/v3"
)

func Test(t *testing.T) {
Expand Down

0 comments on commit 3c1b00e

Please sign in to comment.