Paket: golang-github-gcla-deep-dev (1.0.2-2)
Links für golang-github-gcla-deep-dev
Trisquel-Ressourcen:
Quellcode-Paket golang-github-gcla-deep herunterladen:
- [golang-github-gcla-deep_1.0.2-2.dsc]
- [golang-github-gcla-deep_1.0.2.orig.tar.gz]
- [golang-github-gcla-deep_1.0.2-2.debian.tar.xz]
Betreuer:
Original Maintainers:
- Debian Go Packaging Team
- Dawid Dziurla
Externe Ressourcen:
- Homepage [github.com]
Ähnliche Pakete:
Golang deep variable equality test that returns human-readable differences
Deep Variable Equality for Humans.
This package provides a single function: deep.Equal. It's like reflect.DeepEqual (http://golang.org/pkg/reflect/#DeepEqual) but much friendlier to humans (or any sentient being) for two reason:
• deep.Equal returns a list of differences • deep.Equal does not compare unexported fields (by default)
This is a fork of go-test/deep package with an additional feature.
Message from author about changes made in fork: Some packages may require Equal()'s parameters to be set in a particular way that is incompatible with other users within the same program. The global configuration parameters can be changed and restored, but this could lead to bugs due to race conditions. This commit makes the parameters that control Equal()'s operation part of a structure, Comparer, for which Equal() is now a method. Users can configure their own Comparer struct if desired. To preserve the existing package interface, the package-level Equals() method will use a default Comparer object that relies on pointers to the current global configuration parameters (pointers so that the operation of the global Equals() function will change immediately upon changing the value of any global configuration setting).
Andere Pakete mit Bezug zu golang-github-gcla-deep-dev
|
|
|
-
- dep: golang-github-go-test-deep-dev
- Golang deep variable equality test that returns human-readable differences
golang-github-gcla-deep-dev herunterladen
Architektur | Paketgröße | Größe (installiert) | Dateien |
---|---|---|---|
all | 9,1 kB | 44 kB | [Liste der Dateien] |