{"id":16930433,"url":"https://github.com/alexpantyukhin/assertord","last_synced_at":"2025-06-14T14:34:30.281Z","repository":{"id":77360216,"uuid":"163192471","full_name":"alexpantyukhin/assertord","owner":"alexpantyukhin","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-26T20:22:43.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T08:11:42.303Z","etag":null,"topics":["arrays","go","golang","test","testing","unittest"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexpantyukhin.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-26T15:17:23.000Z","updated_at":"2018-12-26T20:22:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb136d62-4663-41ca-b834-e723f4bd3918","html_url":"https://github.com/alexpantyukhin/assertord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexpantyukhin/assertord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpantyukhin%2Fassertord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpantyukhin%2Fassertord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpantyukhin%2Fassertord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpantyukhin%2Fassertord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexpantyukhin","download_url":"https://codeload.github.com/alexpantyukhin/assertord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpantyukhin%2Fassertord/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259831594,"owners_count":22918550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arrays","go","golang","test","testing","unittest"],"created_at":"2024-10-13T20:41:42.779Z","updated_at":"2025-06-14T14:34:30.236Z","avatar_url":"https://github.com/alexpantyukhin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go asserts for checking collections order.\n[![Build Status](https://travis-ci.org/alexpantyukhin/assertord.svg?branch=master\n)](https://travis-ci.org/alexpantyukhin/assertord)\n[![GoDoc](https://godoc.org/alexpantyukhin/assertord?status.svg)](https://godoc.org/github.com/alexpantyukhin/assertord)\n\nThe lib contains a list of functions for checking ordering of slices and arrays.\nThe following checks are implemented:\n   - IsOrdered\n   - IsNotOrdered\n   - IsOrderedAsc\n   - IsNotOrderedAsc\n   - IsOrderedDesc\n   - IsNotOrderedDesc\n\n# Usage example\n\n```go\npackage main\n\nimport (\n\t\"testing\"\n\n\t\"github.com/alexpantyukhin/assertord\"\n)\n\nfunc TestIsOrdered(t *testing.T) {\n\tarr := []int{1, 2, 3, 4}\n\n\tassertord.IsOrdered(t, arr)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpantyukhin%2Fassertord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexpantyukhin%2Fassertord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpantyukhin%2Fassertord/lists"}