Debian Codegraph @

debian/control

raw
1 Source: golang-github-google-go-cmp
2 Section: golang
3 Priority: optional
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders: Arnaud Rebillout <[email protected]>,
6 Martín Ferrari <[email protected]>,
7 Anthony Fok <[email protected]>
8 Build-Depends: debhelper-compat (= 13),
9 dh-sequence-golang,
10 golang-any,
11 Testsuite: autopkgtest-pkg-go
12 Standards-Version: 4.7.2
13 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-google-go-cmp
14 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-google-go-cmp.git
15 Homepage: https://github.com/google/go-cmp
16 XS-Go-Import-Path: github.com/google/go-cmp
17
18 Package: golang-github-google-go-cmp-dev
19 Architecture: all
20 Multi-Arch: foreign
21 Depends: ${misc:Depends}
22 Description: Package for comparing Go values in tests
23 This package is intended to be a more powerful and safer alternative to
24 reflect.DeepEqual for comparing whether two values are semantically equal.
25 .
26 The primary features of cmp are:
27 * When the default behavior of equality does not suit the needs of the test,
28 custom equality functions can override the equality operation. For
29 example, an equality function may report floats as equal so long as they
30 are within some tolerance of each other.
31 * Types that have an Equal method may use that method to determine equality.
32 This allows package authors to determine the equality operation for the
33 types that they define.
34 * If no custom equality functions are used and no Equal method is defined,
35 equality is determined by recursively comparing the primitive kinds on both
36 values, much like reflect.DeepEqual. Unlike reflect.DeepEqual, unexported
37 fields are not compared by default; they result in panics unless suppressed
38 by using an Ignore option (see cmpopts.IgnoreUnexported) or explicitly
39 compared using the AllowUnexported option.
40 .
41 See the GoDoc documentation (https://godoc.org/github.com/google/go-cmp/cmp)
42 for more information.