golang-github-google-go-cmp 0.5.9-1 source package in Ubuntu
Changelog
golang-github-google-go-cmp (0.5.9-1) unstable; urgency=medium * New upstream version 0.5.9 * debian/rules: Invoke dh with --builddirectory=_build * Bump Standards-Version to 4.6.1 (no change) -- Anthony Fok <email address hidden> Mon, 26 Sep 2022 12:54:44 -0600
Upload details
- Uploaded by:
- Debian Go Packaging Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Go Packaging Team
- Architectures:
- all
- Section:
- golang
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
golang-github-google-go-cmp_0.5.9-1.dsc | 2.3 KiB | b096772ff04430526442570255940b63f0ed4a235a39d8246af767f2156b8d0c |
golang-github-google-go-cmp_0.5.9.orig.tar.gz | 102.0 KiB | 41a074c2fcfc72f813736f8ca8e3116e260a6b79af407d9da0d4c5e4c3f61acf |
golang-github-google-go-cmp_0.5.9-1.debian.tar.xz | 3.3 KiB | da43cd65aa202e572218c94cbd7e8fb9ee9618e0ccdb8b82c21222485a8ac6ed |
Available diffs
- diff from 0.5.8-1 to 0.5.9-1 (8.7 KiB)
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.IgnoreUnexporte d) or explicitly
compared using the AllowUnexported option.
.
See the GoDoc documentation (https://godoc. org/github. com/google/ go-cmp/ cmp)
for more information.