Skip to content

Commit

Permalink
change import pageboy version
Browse files Browse the repository at this point in the history
  • Loading branch information
soranoba committed Oct 12, 2020
1 parent 6c85d1d commit 857c954
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"strings"

pbc "github.com/soranoba/pageboy/core"
pbc "github.com/soranoba/pageboy/v2/core"
"gorm.io/gorm"
"gorm.io/gorm/clause"
)
Expand Down
4 changes: 2 additions & 2 deletions tests/cursor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"
"time"

"github.com/soranoba/pageboy"
pbc "github.com/soranoba/pageboy/core"
"github.com/soranoba/pageboy/v2"
pbc "github.com/soranoba/pageboy/v2/core"
"gorm.io/gorm"
)

Expand Down
4 changes: 2 additions & 2 deletions tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/soranoba/pageboy/tests
go 1.15

require (
github.com/soranoba/pageboy v1.1.0
github.com/soranoba/pageboy/v2 v2.0.0
gorm.io/driver/mysql v1.0.2
gorm.io/driver/postgres v1.0.2
gorm.io/driver/sqlite v1.1.3
gorm.io/driver/sqlserver v1.0.4
gorm.io/gorm v1.20.2
)

replace github.com/soranoba/pageboy => ../
replace github.com/soranoba/pageboy/v2 => ../
2 changes: 1 addition & 1 deletion tests/pager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/soranoba/pageboy"
"github.com/soranoba/pageboy/v2"
"gorm.io/gorm"
)

Expand Down

0 comments on commit 857c954

Please sign in to comment.