{"id":27635709,"url":"https://github.com/tklauser/lintcomparestrings","last_synced_at":"2025-09-09T19:27:13.297Z","repository":{"id":271904654,"uuid":"914912004","full_name":"tklauser/lintcomparestrings","owner":"tklauser","description":"Go linter to check for uses of cmp.Compare with string arguments","archived":false,"fork":false,"pushed_at":"2025-05-06T11:30:58.000Z","size":52,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T12:49:52.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tklauser.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,"zenodo":null}},"created_at":"2025-01-10T15:08:05.000Z","updated_at":"2025-05-06T11:31:01.000Z","dependencies_parsed_at":"2025-02-11T12:23:07.995Z","dependency_job_id":"33b2c64d-43fa-4b44-8608-e95e46c56991","html_url":"https://github.com/tklauser/lintcomparestrings","commit_stats":null,"previous_names":["tklauser/lintcomparestrings"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tklauser/lintcomparestrings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Flintcomparestrings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Flintcomparestrings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Flintcomparestrings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Flintcomparestrings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tklauser","download_url":"https://codeload.github.com/tklauser/lintcomparestrings/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Flintcomparestrings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274348802,"owners_count":25268972,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-04-23T20:11:39.129Z","updated_at":"2025-09-09T19:27:13.286Z","avatar_url":"https://github.com/tklauser.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lintcomparestrings\n\nA Go linter which checks whether the more efficient\n[`strings.Compare`](https://pkg.go.dev/strings#Compare) three-way-compare\nfunction is used for strings rather than [`cmp.Compare`](https://pkg.go.dev/cmp#Compare).\n\nUsing `strings.Compare` to three-way-compare strings is more efficient than\n`cmp.Compare` since Go 1.23, especially for large strings. See\nhttps://go.dev/issues/61725 and https://go.dev/cl/532195 for details.\n\nNote that this linter will become obsolete once https://go.dev/issues/71270 is\nimplemented.\n\n## Installation\n\n    go install github.com/tklauser/lintcomparestrings@latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftklauser%2Flintcomparestrings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftklauser%2Flintcomparestrings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftklauser%2Flintcomparestrings/lists"}