github.com/maxatome/go-testdeep (go): Package testdeep allows extremely flexible deep comparison. It is built for testing.  It is a go rewrite and adaptation of wonderful Test::Deep perl module.  In golang, comparing data structure is usually done using reflect.DeepEqual or using a package that uses this function behind the scene.  This function works very well, but it is not flexible. Both compared structures must match exactly.  The purpose of go-testdeep is to do its best to introduce this missing flexibility using "operators" when the expected value (or one of its component) cannot be matched exactly.  testdeep package should not be used in new code, even if it can for backward compatibility reasons, but td package.  All variables and types of testdeep package are aliases to respectively functions and types of td package. They are only here for compatibility purpose as  should now be used, in preference of older, but still supported:  For easy HTTP API testing, see tdhttp package.  For tests suites also just as easy, see tdsuite package.
Keywords: assertions|deep-equals|equality|framework|go|golang|golang-package|golang-testing|hacktoberfest|httptest|test-suite|testdeep|testing|tests|testsuite|toolkit|variable-equality