| 1 | Source: golang-github-powerman-deepequal |
| 2 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 | Uploaders: Eric Dorland <[email protected]> |
| 4 | Section: golang |
| 5 | Testsuite: autopkgtest-pkg-go |
| 6 | Build-Depends: debhelper-compat (= 13), |
| 7 | dh-golang, |
| 8 | golang-any |
| 9 | Standards-Version: 4.7.0.1 |
| 10 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-powerman-deepequal |
| 11 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-powerman-deepequal.git |
| 12 | Homepage: https://github.com/powerman/deepequal |
| 13 | XS-Go-Import-Path: github.com/powerman/deepequal |
| 14 | |
| 15 | Package: golang-github-powerman-deepequal-dev |
| 16 | Architecture: all |
| 17 | Depends: ${misc:Depends} |
| 18 | Description: Go library with improved reflect.DeepEqual |
| 19 | Most of the code is copied from Go reflect package with slight |
| 20 | modifications. |
| 21 | . |
| 22 | Differences from reflect.DeepEqual: |
| 23 | * If compared value implements .Equal(valueOfSameType) bool method then |
| 24 | it will be called instead of comparing values as is. |
| 25 | * If called Equal method will panics then whole DeepEqual will panics too. |
| 26 | . |
| 27 | This means you can use this DeepEqual method to correctly compare types |
| 28 | like time.Time or decimal.Decimal, without taking in account unimportant |
| 29 | differences (like time zone or exponent). |