Original post

https://github.com/maxatome/go-testdeep (site / godoc)

As a reminder, the package testdeep allows extremely flexible deep comparison, extends the testing package, it is built for testing.
It is a go rewrite and adaptation of wonderful Test::Deep perl module.
The purpose of testdeep package is to do its best to provide comparison flexibility using operators when the expected value (or one of its component) cannot be matched exactly.

See the new synopsis for simple examples of use followed by an API route test.

New features:

As usual, FAQ and Example chapters offers a glimpse of what it is possible to do with this package.