- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for gopathDir (0.22 sec)
-
src/debug/buildinfo/buildinfo_test.go
} t.Fatalf("failed building test file: %v\n%s", err, stderr.String()) } return outPath } buildWithGOPATH := func(t *testing.T, goos, goarch, buildmode string) string { gopathDir := t.TempDir() pkgDir := filepath.Join(gopathDir, "src/example.com/m") if err := os.MkdirAll(pkgDir, 0777); err != nil { t.Fatal(err) } helloPath := filepath.Join(pkgDir, "hello.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
GOROOTbin string GOROOTpkg string GOROOTsrc string GOBIN = Getenv("GOBIN") GOMODCACHE, GOMODCACHEChanged = EnvOrAndChanged("GOMODCACHE", gopathDir("pkg/mod")) // Used in envcmd.MkEnv and build ID computations. GOARM64, goARM64Changed = EnvOrAndChanged("GOARM64", fmt.Sprint(buildcfg.GOARM64))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
} if wd, err := os.Getwd(); err == nil { gopathdir := filepath.Join(wd, "testdata", "issue25459") abstractOriginSanity(t, gopathdir, DefaultOpt) } else { t.Fatalf("os.Getwd() failed %v", err) } } func TestAbstractOriginSanityIssue26237(t *testing.T) { testenv.MustHaveGoBuild(t) mustHaveDWARF(t) if wd, err := os.Getwd(); err == nil { gopathdir := filepath.Join(wd, "testdata", "issue26237")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0)