wszystkie opcje
bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: golang-github-powerman-deepequal  ]

Pakiet: golang-github-powerman-deepequal-dev (0.1.0-3)

Odnośniki dla golang-github-powerman-deepequal-dev

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego golang-github-powerman-deepequal:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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

Pobieranie golang-github-powerman-deepequal-dev

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 8,6 KiB36,0 KiB [lista plików]