Skip to content

Commit

Permalink
ED4FTR-5793 - feat(dbr): since we forked dbr we have to change the im…
Browse files Browse the repository at this point in the history
…port path on
  • Loading branch information
Stefan Hillebrand committed Sep 7, 2020
1 parent 65a9354 commit a3ad42f
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion comments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion condition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dbr
import (
"testing"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion dbr.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"time"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
)

// Open creates a Connection.
Expand Down
2 changes: 1 addition & 1 deletion dbr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

"github.com/enercity/dbr/v2/dialect"
_ "github.com/go-sql-driver/mysql"
"github.com/gocraft/dbr/v2/dialect"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dbr
import (
"testing"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

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/gocraft/dbr/v2
module github.com/enercity/dbr/v2

go 1.13

Expand Down
2 changes: 1 addition & 1 deletion insert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dbr
import (
"testing"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion interpolate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions select.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func (b *SelectStmt) LoadOneContext(ctx context.Context, value interface{}) erro
// LoadOne loads SQL result into go variable that is not a slice.
// Unlike Load, it returns ErrNotFound if the SQL result row count is 0.
//
// See https://godoc.org/github.com/gocraft/dbr#Load.
// See https://godoc.org/github.com/enercity/dbr#Load.
func (b *SelectStmt) LoadOne(value interface{}) error {
return b.LoadOneContext(context.Background(), value)
}
Expand All @@ -384,7 +384,7 @@ func (b *SelectStmt) LoadContext(ctx context.Context, value interface{}) (int, e

// Load loads multi-row SQL result into a slice of go variables.
//
// See https://godoc.org/github.com/gocraft/dbr#Load.
// See https://godoc.org/github.com/enercity/dbr#Load.
func (b *SelectStmt) Load(value interface{}) (int, error) {
return b.LoadContext(context.Background(), value)
}
2 changes: 1 addition & 1 deletion select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/lib/pq"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion sqlmock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

sqlmock "github.com/DATA-DOG/go-sqlmock"
"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dbr
import (
"testing"

"github.com/gocraft/dbr/v2/dialect"
"github.com/enercity/dbr/v2/dialect"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit a3ad42f

Please sign in to comment.