全部搜索项
bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-powerman-deepequal  ]

软件包:golang-github-powerman-deepequal-dev(0.1.0-3)

golang-github-powerman-deepequal-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-powerman-deepequal

维护小组:

外部的资源:

相似软件包:

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).

下载 golang-github-powerman-deepequal-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 8.6 kB36.0 kB [文件列表]