pilagod / gorm-cursor-paginator

A paginator doing cursor-based pagination based on GORM
https://github.com/pilagod/gorm-cursor-paginator
MIT License
192 stars 44 forks source link

Add query tags for Cursor struct #8

Closed pratikmallya closed 5 years ago

pratikmallya commented 5 years ago

Pagination endpoints are often GET endpoints that accept query parameters. Using the query tag allows users to use this model in their requests to bind the query parameters directly in a labstack/echo based server.

See: https://echo.labstack.com/guide/request

Also fix a minor typo

pilagod commented 5 years ago

Nice catch ! I'm not familiar with echo based server, thanks for your response, I have released v1.1.2 to bring out this change : )