3 ms·
For your unit-testing problem, I highly recommend `testify/assert`: https://godoc.org/github.com/stretchr/testify/assert https://godoc.org/github.com/stretchr/
by biztos 10y ago
For your unit-testing problem, I highly recommend `testify/assert`:
https://godoc.org/github.com/stretchr/testify/assert https://godoc.org/github.com/stretchr/testify/assert
- kasey_junk 10y agoThe fact that golang ships with a unit test library that does not contain equality assertions is aggravating. Their political stance on it is just one of many places the language designers come off less as opinionated and more as that they know my problem sets better than me.