Rather than hand coding the temporary directory creation logic, use ioutil.TempDir. It uses its own (seeded) random number generator independent of the math/rand default PRNG, so doesn't suffer from trying a predictable and limited sequence of temporary directory names.
Rather than hand coding the temporary directory creation logic, use
ioutil.TempDir
. It uses its own (seeded) random number generator independent of themath/rand
default PRNG, so doesn't suffer from trying a predictable and limited sequence of temporary directory names.Fixes #45.