I would prefer using testify/assert as well, over facebookgo/ensure. The two dependencies seem to add quite a lot of value to test outputs: spew will print deep array diff while difflib will print text diff, which is useful for comparing JSON outputs.
2 Likes