I\'m new to Go and can\'t seem to find a way to delete all the contents of a directory when I don\'t know the contents.
I\'ve tried:
os.RemoveAll(\"/tmp/
It might be a stupid answer, but why not simply do?
os.RemoveAll("/tmp/") os.MkdirAll("/tmp/",FileMode)