全部搜尋項
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 [檔案列表]