![]() ... instead of generating one with math/rand. The problem was that math/rand is deterministic across runs, resulting in a possible race when trying to create the same directory between two processes. Additionally, because I used `os.MkdirAll`, no error was reported when the directory already existed. The solution to this is to use the stdlib function designed for this: ioutil.TempDir. |
||
---|---|---|
.. | ||
errors.go | ||
goroot.go | ||
loader.go | ||
ssa.go |