Versions in this module Expand all Collapse all v1 v1.0.0 Jun 2, 2021 Changes in this version + const DefaultDefaultPer + const DefaultMaxPer + type Query struct + DefaultPer int + MaxPer int + Page int + Per int + Query string + func (q Query) GetPage() int + func (q Query) GetPer() int + func (q Query) GetQuery() (query string, args []interface{}) + func (q Query) LimitOffset() string + func (q Query) Result(count int) (p Result) + type Result struct + CurrentPage *int + LimitValue *int + NextPage *int + PrevPage *int + TotalCount *int + TotalPages *int Other modules containing this package github.com/gopsql/pagination/v2