Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/jmoiron/sqlx
module github.com/secondwindoss/sqlx

go 1.10

Expand Down
2 changes: 1 addition & 1 deletion named.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reflectx/reflect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion sqlx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sqlx_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion sqlx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
Loading