golang-github-google-go-cmp 0.4.0-1 source package in Ubuntu


golang-github-google-go-cmp (0.4.0-1) unstable; urgency=medium

  * New upstream version 0.4.0
  * Bump Standards-Version to 4.5.0 (no change)
  * Add dependency on golang-golang-x-xerrors-dev

 -- Anthony Fok <email address hidden>  Sat, 15 Feb 2020 17:59:56 -0700

Upload details

Uploaded by:
Debian Go Packaging Team
Uploaded to:
Original maintainer:
Debian Go Packaging Team
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Groovy release universe misc


Focal: [FULLYBUILT] amd64


File Size SHA-256 Checksum
golang-github-google-go-cmp_0.4.0-1.dsc 2.3 KiB 1bb2d4dca8ab205701b0689e9ec648bcbc33b860bcb595f0bd7f0711ec94fc0b
golang-github-google-go-cmp_0.4.0.orig.tar.gz 79.7 KiB 97964b47aa6dc61007f9e1b1ad67812f0a8a2380072a59daebac7bc0cdcf740a
golang-github-google-go-cmp_0.4.0-1.debian.tar.xz 3.3 KiB 69f764c5dea1aeaf465566c4cbfce3126d91833af30ea4eb9a5e0d2822777212

Available diffs

No changes file available.

Binary packages built by this source

golang-github-google-go-cmp-dev: Package for comparing Go values in tests

 This package is intended to be a more powerful and safer alternative to
 reflect.DeepEqual for comparing whether two values are semantically equal.
 The primary features of cmp are:
  * When the default behavior of equality does not suit the needs of the test,
    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 that have an Equal method 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 cmpopts.IgnoreUnexported) or explicitly
    compared using the AllowUnexported option.
 See the GoDoc documentation (https://godoc.org/github.com/google/go-cmp/cmp)
 for more information.