rmdir_r Remove recursively directory that contains only directories second program in go ever. Take a look at the code before using in production ;-)