[ 原始碼: golang-github-powerman-deepequal ]
套件:golang-github-powerman-deepequal-dev(0.1.0-4)
golang-github-powerman-deepequal-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-powerman-deepequal:
- [golang-github-powerman-deepequal_0.1.0-4.dsc]
- [golang-github-powerman-deepequal_0.1.0.orig.tar.gz]
- [golang-github-powerman-deepequal_0.1.0-4.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
Go library with improved reflect.DeepEqual
Most of the code is copied from Go reflect package with slight modifications.
Differences from reflect.DeepEqual:
* If compared value implements .Equal(valueOfSameType) bool method then it will be called instead of comparing values as is. * If called Equal method will panics then whole DeepEqual will panics too.
This means you can use this DeepEqual method to correctly compare types like time.Time or decimal.Decimal, without taking in account unimportant differences (like time zone or exponent).