Skip to content

Commit

Permalink
all: fix missing package name in README.md example
Browse files Browse the repository at this point in the history
  • Loading branch information
markraymondlush committed Feb 15, 2022
1 parent f1f2594 commit 10296c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func main() {

total := len(results)

pager := NewPager(currentPage, perPage, total)
pager := pagination.NewPager(currentPage, perPage, total)

fmt.Println(pager.PrevPage) // 1
fmt.Println(pager.NextPage) // 3
Expand Down

0 comments on commit 10296c5

Please sign in to comment.