Re: [go-nuts] Re: assert library with generics?

2024-02-23 Thread Pierre Durand
https://pkg.go.dev/github.com/pierrre/assert#section-readme Le vendredi 23 février 2024 à 09:34:43 UTC+1, Harmen a écrit : > On Thu, Feb 22, 2024 at 04:41:53PM -0800, Seth Hoenig wrote: > > https://github.com/shoenig/test > > > > We've been using this for a couple years now, and it's been

Re: [go-nuts] Re: assert library with generics?

2024-02-23 Thread Harmen
On Thu, Feb 22, 2024 at 04:41:53PM -0800, Seth Hoenig wrote: > https://github.com/shoenig/test > > We've been using this for a couple years now, and it's been great. I am > biased though, for obvious reasons. It makes use of the go-cmp library > under the hood for creating legible diffs, and

[go-nuts] Re: assert library with generics?

2024-02-22 Thread Seth Hoenig
https://github.com/shoenig/test We've been using this for a couple years now, and it's been great. I am biased though, for obvious reasons. It makes use of the go-cmp library under the hood for creating legible diffs, and integrates well with protocmp for when you need to work with protobufs.