An open API service for producing an overview of a list of open source projects.

https://github.com/google/go-cmp

equality go testing

Score: 36.58712260412981

Last synced: about 18 hours ago
JSON representation

Repository metadata:

Package for comparing Go values in tests


Owner metadata:


GitHub Events

Total
Last Year

Committers metadata

Last synced: 11 days ago

Total Commits: 175
Total Committers: 29
Avg Commits per committer: 6.034
Development Distribution Score (DDS): 0.217

Commits in past year: 2
Committers in past year: 2
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.5

Name Email Commits
Joe Tsai j****i@d****t 137
Christian Muehlhaeuser m****i@g****m 3
Damien Neil n****d 3
Tobias Klauser t****r@d****h 3
178inaba 1****t@g****m 2
Dmitri Shuralyov s****L@g****m 2
Ross Light l****t@g****m 2
Aoang a****g@x****m 2
A. Ishikawa a****0@g****m 1
Brad Fitzpatrick b****d@d****m 1
Bəxtiyar b****v@g****m 1
Caleb Spare c****e@g****m 1
Chris Morrow m****c@o****t 1
David Crawshaw c****w@g****g 1
Ernest Galbrun e****n@g****m 1
Fiisio l****u@1****m 1
Ikko Ashimine e****r@g****m 1
Jake Son s****n@g****m 1
Kyle Lemons k****r@g****m 1
LMMilewski l****i@g****m 1
Mitch Burton m****n@c****m 1
Roger Peppe r****e@g****m 1
Russ Cox r****c@s****m 1
Tatsuya Kaneko c****y@c****g 1
Will Beason w****n@g****m 1
colinnewell c****l@g****m 1
ferhat elmas e****t@g****m 1
k.nakada 3****5 1
mattdee123 m****3@g****m 1

Issue and Pull Request metadata

Last synced: about 1 month ago

Total issues: 96
Total pull requests: 72
Average time to close issues: about 2 months
Average time to close pull requests: about 1 month
Total issue authors: 79
Total pull request authors: 24
Average comments per issue: 3.75
Average comments per pull request: 1.88
Merged pull request: 50
Bot issues: 0
Bot pull requests: 0

Past year issues: 5
Past year pull requests: 9
Past year average time to close issues: N/A
Past year average time to close pull requests: 3 days
Past year issue authors: 5
Past year pull request authors: 6
Past year average comments per issue: 0.6
Past year average comments per pull request: 1.33
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/google/go-cmp

Top Issue Authors

  • dsnet (9)
  • dprotaso (4)
  • seehuhn (3)
  • rogpeppe (3)
  • lmittmann (2)
  • pohly (2)
  • posener (1)
  • future-okada (1)
  • pcfreak30 (1)
  • liuyucheng11 (1)
  • ccoVeille (1)
  • Carrotman42 (1)
  • Eun (1)
  • danielchatfield (1)
  • buyology (1)

Top Pull Request Authors

  • dsnet (35)
  • pgimalac (4)
  • tklauser (3)
  • willbeason (3)
  • neild (3)
  • manuelarte (2)
  • Perfect5th (2)
  • Aoang (2)
  • dominiquelefevre (2)
  • siashish (2)
  • joycebrum (1)
  • medyagh (1)
  • k3forx (1)
  • eltociear (1)
  • MukundaKatta (1)

Top Issue Labels

  • enhancement (12)
  • reporter (9)
  • question (6)
  • bug (4)
  • waiting-for-info (2)
  • help wanted (1)
  • performance (1)

Top Pull Request Labels


Package metadata

proxy.golang.org: github.com/google/go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://pkg.go.dev/github.com/google/go-cmp#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.7.0 (published over 1 year ago)
  • Last Synced: 2026-06-15T03:02:53.860Z (6 days ago)
  • Versions: 18
  • Dependent Packages: 71,578
  • Dependent Repositories: 201,810
  • Docker Downloads: 56,848,354,109
  • Rankings:
    • Dependent repos count: 0.001%
    • Dependent packages count: 0.002%
    • Docker downloads count: 0.003%
    • Average: 0.61%
    • Stargazers count: 1.146%
    • Forks count: 1.898%
proxy.golang.org: github.com/google/go-cmp/cmp/cmpopts

Package cmpopts provides common options for the cmp package.

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://pkg.go.dev/github.com/google/go-cmp/cmp/cmpopts#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.7.0 (published about 1 month ago)
  • Last Synced: 2026-06-13T05:24:26.960Z (8 days ago)
  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 4.76%
    • Average: 4.92%
    • Dependent repos count: 5.08%
proxy.golang.org: github.com/google/go-cmp/cmp/internal/value

proxy.golang.org: github.com/google/go-cmp/cmp/internal/flags

proxy.golang.org: github.com/google/go-cmp/cmp/internal/function

Package function provides functionality for identifying function types.

proxy.golang.org: github.com/google/go-cmp/cmp/internal/diff

Package diff implements an algorithm for producing edit-scripts. The edit-script is a sequence of operations needed to transform one list of symbols into another (or vice-versa). The edits allowed are insertions, deletions, and modifications. The summation of all edits is called the Levenshtein distance as this problem is well-known in computer science. This package prioritizes performance over accuracy. That is, the run time is more important than obtaining a minimal Levenshtein distance.

proxy.golang.org: github.com/google/go-cmp/cmp

Package cmp determines equality of values. This package is intended to be a more powerful and safer alternative to reflect.DeepEqual for comparing whether two values are semantically equal. It is intended to only be used in tests, as performance is not a goal and it may panic if it cannot compare the values. Its propensity towards panicking means that its unsuitable for production environments where a spurious panic may be fatal. The primary features of cmp are: When the default behavior of equality does not suit the test's needs, custom equality functions can override the equality operation. For example, an equality function may report floats as equal so long as they are within some tolerance of each other. Types with an Equal method (e.g., time.Time.Equal) may use that method to determine equality. This allows package authors to determine the equality operation for the types that they define. If no custom equality functions are used and no Equal method is defined, equality is determined by recursively comparing the primitive kinds on both values, much like reflect.DeepEqual. Unlike reflect.DeepEqual, unexported fields are not compared by default; they result in panics unless suppressed by using an Ignore option (see github.com/google/go-cmp/cmp/cmpopts.IgnoreUnexported) or explicitly compared using the Exporter option.

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://pkg.go.dev/github.com/google/go-cmp/cmp#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.7.0 (published about 1 month ago)
  • Last Synced: 2026-06-13T05:24:25.907Z (8 days ago)
  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 4.779%
    • Average: 4.939%
    • Dependent repos count: 5.1%
proxy.golang.org: github.com/google/go-Cmp

  • Homepage: https://github.com/google/go-Cmp
  • Documentation: https://pkg.go.dev/github.com/google/go-Cmp#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.7.0 (published over 1 year ago)
  • Last Synced: 2026-06-13T05:24:27.434Z (8 days ago)
  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 5.047%
    • Average: 5.216%
    • Dependent repos count: 5.385%
proxy.golang.org: github.com/GOOGLE/go-cmp

  • Homepage: https://github.com/GOOGLE/go-cmp
  • Documentation: https://pkg.go.dev/github.com/GOOGLE/go-cmp#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.7.0 (published over 1 year ago)
  • Last Synced: 2026-06-13T05:24:27.126Z (8 days ago)
  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 5.309%
    • Average: 5.488%
    • Dependent repos count: 5.666%
proxy.golang.org: github.com/Google/go-cmp

  • Homepage: https://github.com/Google/go-cmp
  • Documentation: https://pkg.go.dev/github.com/Google/go-cmp#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.7.0 (published over 1 year ago)
  • Last Synced: 2026-06-13T05:24:25.837Z (8 days ago)
  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.295%
    • Average: 6.508%
    • Dependent repos count: 6.72%
ubuntu-22.04: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.5.6-1 (published 4 months ago)
  • Last Synced: 2026-03-07T03:36:29.719Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
guix: go-github-com-google-go-cmp

Determine equality of values in Go

debian-10: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://packages.debian.org/buster/golang-github-google-go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.2.0-1 (published 4 months ago)
  • Last Synced: 2026-03-13T07:10:49.514Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-20.04: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.3.1-1 (published 4 months ago)
  • Last Synced: 2026-03-08T02:57:46.177Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-13: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://packages.debian.org/trixie/golang-github-google-go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.6.0-1 (published 4 months ago)
  • Last Synced: 2026-03-13T20:10:40.519Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-12: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://packages.debian.org/bookworm/golang-github-google-go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.5.9-1 (published 4 months ago)
  • Last Synced: 2026-03-12T23:09:29.723Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.5.9-1 (published 4 months ago)
  • Last Synced: 2026-03-10T04:13:57.808Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.5.9-1 (published 4 months ago)
  • Last Synced: 2026-03-11T09:03:58.181Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-11: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Documentation: https://packages.debian.org/bullseye/golang-github-google-go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.5.4-1 (published 4 months ago)
  • Last Synced: 2026-03-13T14:33:18.745Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Licenses: bsd-3-clause
  • Latest release: 0.6.0-1 (published 4 months ago)
  • Last Synced: 2026-03-08T15:45:39.833Z (3 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: golang-github-google-go-cmp

  • Homepage: https://github.com/google/go-cmp
  • Status: removed
  • Licenses: bsd-3-clause
  • Latest release: 0.6.0-1 (published 5 months ago)
  • Last Synced: 2026-02-05T16:01:42.011Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • actions/setup-go v2 composite
go.mod go