In order to improve my Go programming skills, I stopped writing shell scripts for the time being and instead write them as Go programs - everywhere that can not be solved by a plain one-liner.
Really helps a lot o.o
Still, `if err = x(); err != nill` is weird...