News for hackers. Stuff that matters.
Re:Go 1.14 release notes by teeray on Tuesday February 25, 2020 @03:06PM (#22416869)
Buried in the notes is a small, but useful addition to the testing package that allows your test helpers to register their own cleanup functions (testing.(*T).Cleanup). I wrote a blog post discussing it in depth here: https://www.gopherguides.com/articles/test-cleanup-in-go-1-1...
Re:Go 1.14 release notes by mleonard on Wednesday February 26, 2020 @02:17AM (#22421041)
Hey. Interesting blog post! Quick bit of feedback for you... I find the code snippets quite hard to read on mobile as the lines wrap. Could you enable horizontal overflow scrolling do you think? overflow-x:scroll