diff --git a/Makefile b/Makefile index 448b9dd..7dfb1e6 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL = /bin/sh .SHELLFLAGS = -ec -BASE_PACKAGE := github.com/jmoiron/sqlx +BASE_PACKAGE := github.com/secondwindoss/sqlx tooling: go install honnef.co/go/tools/cmd/staticcheck@v0.4.7 diff --git a/bind.go b/bind.go index e698039..f597184 100644 --- a/bind.go +++ b/bind.go @@ -9,7 +9,7 @@ import ( "strings" "sync" - "github.com/jmoiron/sqlx/reflectx" + "github.com/secondwindoss/sqlx/reflectx" ) // Bindvar types supported by Rebind, BindMap and BindStruct. diff --git a/bind_test.go b/bind_test.go index dfa590e..06838ff 100644 --- a/bind_test.go +++ b/bind_test.go @@ -26,7 +26,7 @@ sync.Map implementation: goos: linux goarch: amd64 -pkg: github.com/jmoiron/sqlx +pkg: github.com/secondwindoss/sqlx BenchmarkBindSpeed/old-4 100000000 11.0 ns/op BenchmarkBindSpeed/new-4 24575726 50.8 ns/op @@ -35,7 +35,7 @@ async.Value map implementation: goos: linux goarch: amd64 -pkg: github.com/jmoiron/sqlx +pkg: github.com/secondwindoss/sqlx BenchmarkBindSpeed/old-4 100000000 11.0 ns/op BenchmarkBindSpeed/new-4 42535839 27.5 ns/op */ diff --git a/go.mod b/go.mod index 9b164a1..bc4d4d9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/jmoiron/sqlx +module github.com/secondwindoss/sqlx go 1.10 diff --git a/named.go b/named.go index 6ac4477..0c4d841 100644 --- a/named.go +++ b/named.go @@ -21,7 +21,7 @@ import ( "strconv" "unicode" - "github.com/jmoiron/sqlx/reflectx" + "github.com/secondwindoss/sqlx/reflectx" ) // NamedStmt is a prepared statement that executes named queries. Prepare it diff --git a/reflectx/reflect_test.go b/reflectx/reflect_test.go index d0d9be2..278b8d2 100644 --- a/reflectx/reflect_test.go +++ b/reflectx/reflect_test.go @@ -848,7 +848,7 @@ func TestMustBe(t *testing.T) { t.Errorf("unexpected Method: %s", valueErr.Method) t.Fatal("expected panic with *reflect.ValueError") } - if valueErr.Method != "github.com/jmoiron/sqlx/reflectx.TestMustBe" { + if valueErr.Method != "github.com/secondwindoss/sqlx/reflectx.TestMustBe" { t.Fatalf("unexpected Method: %s", valueErr.Method) } if valueErr.Kind != reflect.String { diff --git a/sqlx.go b/sqlx.go index 8259a4f..b627d38 100644 --- a/sqlx.go +++ b/sqlx.go @@ -11,7 +11,7 @@ import ( "strings" "sync" - "github.com/jmoiron/sqlx/reflectx" + "github.com/secondwindoss/sqlx/reflectx" ) // Although the NameMapper is convenient, in practice it should not diff --git a/sqlx_context_test.go b/sqlx_context_test.go index 91c5cba..eebbd1a 100644 --- a/sqlx_context_test.go +++ b/sqlx_context_test.go @@ -26,7 +26,7 @@ import ( _ "github.com/lib/pq" _ "github.com/mattn/go-sqlite3" - "github.com/jmoiron/sqlx/reflectx" + "github.com/secondwindoss/sqlx/reflectx" ) func MultiExecContext(ctx context.Context, e ExecerContext, query string) { diff --git a/sqlx_test.go b/sqlx_test.go index 9fac2cd..bffe9f3 100644 --- a/sqlx_test.go +++ b/sqlx_test.go @@ -25,7 +25,7 @@ import ( _ "github.com/lib/pq" _ "github.com/mattn/go-sqlite3" - "github.com/jmoiron/sqlx/reflectx" + "github.com/secondwindoss/sqlx/reflectx" ) /* compile time checks that Db, Tx, Stmt (qStmt) implement expected interfaces */