{"id":20899629,"url":"https://github.com/fourcels/paginate","last_synced_at":"2026-04-22T11:36:40.179Z","repository":{"id":168466992,"uuid":"643847972","full_name":"fourcels/paginate","owner":"fourcels","description":"GORM Paginate","archived":false,"fork":false,"pushed_at":"2024-09-14T08:20:52.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T08:20:22.742Z","etag":null,"topics":["gorm","paginate"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fourcels.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T09:29:05.000Z","updated_at":"2024-09-14T08:19:52.000Z","dependencies_parsed_at":"2023-11-09T10:25:46.302Z","dependency_job_id":"c8889e02-0e25-4e7b-99ae-c22ae1b5ff28","html_url":"https://github.com/fourcels/paginate","commit_stats":null,"previous_names":["fourcels/paginate"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/fourcels/paginate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourcels%2Fpaginate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourcels%2Fpaginate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourcels%2Fpaginate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourcels%2Fpaginate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fourcels","download_url":"https://codeload.github.com/fourcels/paginate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourcels%2Fpaginate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32134918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gorm","paginate"],"created_at":"2024-11-18T11:14:57.264Z","updated_at":"2026-04-22T11:36:40.161Z","avatar_url":"https://github.com/fourcels.png","language":"Go","readme":"# GORM Paginate\n\n[![GoDevDoc](https://img.shields.io/badge/dev-doc-00ADD8?logo=go)](https://pkg.go.dev/github.com/fourcels/paginate)\n\n## Query Params\n\n```go\ntype DefaultPagination struct {\n\tPage   int               `query:\"page\" minimum:\"1\" default:\"1\"`\n\tSize   int               `query:\"size\" minimum:\"1\" default:\"10\"`\n\tSort   string            `query:\"sort\" description:\"1. asc: **id**\\n2. desc: **-id**\\n3. multi: **id,created_at**\"`\n\tSearch string            `query:\"search\"`\n\tFilter map[string]string `query:\"filter\" description:\"1. Comparison Operators: **eq**, **ne**, **like**, **contain**, **gt**, **gte**, **lt**, **lte**, **in**\\n2. Usage: \\\"field**[:op]**\\\":value\"`\n}\n```\n\n## Filter\n\n1. Comparison Operators: `eq`, `ne`, `like`, `contain`, `gt`, `gte`, `lt`,\n   `lte`, `in`\n1. Usage: \"field`[:op]`\":value\n\n## Sort\n\n1. asc: id\n1. desc: -id\n1. multi: id,created_at\n\n## Example\n\n[exmaples](./examples/main.go)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourcels%2Fpaginate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffourcels%2Fpaginate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourcels%2Fpaginate/lists"}