{"id":21690585,"url":"https://github.com/reiver/go-cmp","last_synced_at":"2025-03-20T12:56:55.028Z","repository":{"id":257783937,"uuid":"859895110","full_name":"reiver/go-cmp","owner":"reiver","description":"Package cmp provider generic functions for less-than, equal, and greater-than operations, for the Go programming language.  This is to provide a more friendly (and less error-prone) developer-experience to the Cmp() method.","archived":false,"fork":false,"pushed_at":"2024-09-19T13:24:49.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T13:08:04.447Z","etag":null,"topics":["equal","greater-than","less-than"],"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/reiver.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":"2024-09-19T13:17:27.000Z","updated_at":"2024-10-03T23:53:03.000Z","dependencies_parsed_at":"2024-09-20T06:44:20.445Z","dependency_job_id":"115fefdf-6aaa-4618-b62e-1a5b8a7e4f1f","html_url":"https://github.com/reiver/go-cmp","commit_stats":null,"previous_names":["reiver/go-cmp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-cmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-cmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-cmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-cmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiver","download_url":"https://codeload.github.com/reiver/go-cmp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244618429,"owners_count":20482316,"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":["equal","greater-than","less-than"],"created_at":"2024-11-25T17:32:17.635Z","updated_at":"2025-03-20T12:56:55.006Z","avatar_url":"https://github.com/reiver.png","language":"Go","readme":"# go-cmp\n\nPackage **cmp** provider generic functions for **less-than**, **equal**, and **greater-than** operations, for the Go programming language.\n\nThis is to provide a more _friendly_ (and less error-prone) developer-experience to the `Cmp()` method.\n\n## Documention\n\nOnline documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-cmp\n\n[![GoDoc](https://godoc.org/github.com/reiver/go-cmp?status.svg)](https://godoc.org/github.com/reiver/go-cmp)\n\n## Examples\n\n```golang\nimport \"github.com/reiver/go-cmp\"\n\n// ...\n\nvar x *big.Int = big.NewInt(-5)\nvar y *big.Int = big.NewInt(10)\n\n// ...\n\nif cmp.LessThan(x,y) {\n\t// ...\n}\n\n// ...\n\nif cmp.Equal(x,y) {\n\t// ...\n}\n\n// ...\n\nif cmp.GreaterThan(x,y) {\n\t// ...\n}\n```\n\n## Import\n\nTo import package **cmp** use `import` code like the following:\n```\nimport \"github.com/reiver/go-cmp\"\n```\n\n## Installation\n\nTo install package **cmp** do the following:\n```\nGOPROXY=direct go get github.com/reiver/go-cmp\n```\n\n## Author\n\nPackage **cmp** was written by [Charles Iliya Krempeaux](http://reiver.link)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-cmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiver%2Fgo-cmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-cmp/lists"}