Renamed rootDir to dir, and the argument to rootDoesNotExist to dir to kill a compilation error.  I really need to set up the go environment on my other machine so I can stop having these stupid compilation and formatting mistakes.