IDAW - It Doesn’t Always Work
Struggles and solutions…
After success in Pt. 1, Pt. 2 covers cancellation of the filesystem walker routine
Filesystem walking in Go docs & tutorials are usually targeted at learners. Lets dive deeper than tutorials to build a filesystem walker than can actually be used in my (or your) projects.
Ever tripped up with Go’s sync.WaitGroup or maybe didn’t even notice? It’s surprisingly easy to fall into a race condition where your program finishes prematurely, thinking all goroutines are done when they aren’t!
Unit testing more than just nil errors