Verbally Flimzy

Ramblings, Observations and Misconceptions

Archive of posts about gopherjs

How I got go-spew to work with GopherJS

Posted on October 19, 2016

go-spew is a very handy library used for dumping arbitrarily complex data structures in a (roughly) human-readable format. This is immensely helpful when debugging or writing automated tests in programs. Coupled with a package like go-difflib, it can make comparing the expected and actual results of a test not only easy, but into something approaching fun.

Continue reading `How I got go-spew to work with GopherJS` →

Filed under: Go gopherjs Programming