testing.common.tempDir (field)
6 uses
testing (current package)
testing.go#L417: tempDir string
testing.go#L924: if c.tempDir == "" { // Usually the case with js/wasm
testing.go#L927: _, err := os.Stat(c.tempDir)
testing.go#L944: c.tempDir, c.tempDirErr = os.MkdirTemp("", pattern)
testing.go#L947: if err := os.RemoveAll(c.tempDir); err != nil {
testing.go#L959: dir := fmt.Sprintf("%s%c%03d", c.tempDir, os.PathSeparator, seq)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |