NOTICE: This package has been removed from pkgsrc

./devel/go-cmp, Package for comparing Go values in tests

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.4.0nb12, Package name: go-cmp-0.4.0nb12, Maintainer: pkgsrc-users

go-cmp is a package for equality of Go values.

This package is intended to be a more powerful and safer alternative
to reflect.DeepEqual for comparing whether two values are semantically
equal.

The primary features of cmp are:

- When the default behavior of equality does not suit the needs of the
test, custom equality functions can override the equality
operation. For example, an equality function may report floats as
equal so long as they are within some tolerance of each other.

- Types that have an Equal method may use that method to determine
equality. This allows package authors to determine the equality
operation for the types that they define.

- If no custom equality functions are used and no Equal method is
defined, equality is determined by recursively comparing the
primitive kinds on both values, much like reflect.DeepEqual. Unlike
reflect.DeepEqual, unexported fields are not compared by default;
they result in panics unless suppressed by using an Ignore option
(see cmpopts.IgnoreUnexported) or explicitly compared using the
AllowUnexported option.


Required to build:
[pkgtools/cwrappers] [devel/go-xerrors] [lang/go114]

Master sites:

SHA1: 9a75761c56d72ff0a50eccaa014f315811796a13
RMD160: dbb7e95152e5bb674920901352bebe0ae0bdcd68
Filesize: 79.688 KB

Version history: (Expand)


CVS history: (Expand)


   2021-07-16 08:26:42 by Nia Alarie | Files touched by this commit (5) | Package removed
Log message:
go-cmp: remove

deprecated go-package; no users in pkgsrc
   2021-07-13 13:36:45 by Benny Siegert | Files touched by this commit (132) | Package updated
Log message:
Revbump all Go packages after go116 update
   2021-06-06 14:19:04 by Benny Siegert | Files touched by this commit (203) | Package updated
Log message:
Revbump all Go packages after go116 update
   2021-05-08 17:02:47 by Benny Siegert | Files touched by this commit (216) | Package updated
Log message:
Revbump all Go packages after go116 update
   2021-03-19 18:37:10 by Benny Siegert | Files touched by this commit (215) | Package updated
Log message:
Revbump all Go packages after go115 update
   2021-01-23 15:23:16 by Benny Siegert | Files touched by this commit (209) | Package updated
Log message:
Revbump all Go packages after go115 update
   2020-11-13 20:26:26 by Benny Siegert | Files touched by this commit (202) | Package updated
Log message:
Revbump all Go packages after go115 update
   2020-11-08 22:59:39 by Benny Siegert | Files touched by this commit (202) | Package updated
Log message:
Revbump all Go packages after Go 1.15 update.