всички настройки
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 кБ36,0 кБ [списък на файловете]