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


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

  * New upstream version 0.3.1
  * Bump debhelper dependency to "Build-Depends: debhelper-compat (= 12)"

 -- Anthony Fok <email address hidden>  Fri, 06 Sep 2019 09:07:05 -0600

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
Focal release universe misc


Focal: [FULLYBUILT] amd64


File Size SHA-256 Checksum
golang-github-google-go-cmp_0.3.1-1.dsc 2.2 KiB 3689aafe3973e33ff6b56511f25a18d1ea808cfc69df827dcef78de666a4594c
golang-github-google-go-cmp_0.3.1.orig.tar.gz 74.6 KiB a95fa266e5c2283b813102f265c1bdf5b78100f9889b984aef828eb094efe6e3
golang-github-google-go-cmp_0.3.1-1.debian.tar.xz 3.2 KiB 8c0cd66f4166d24b384deb97bed3485a249d0099f47cf79038088844b36d522b

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.