- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for subpackages (0.17 sec)
-
src/cmd/api/main_test.go
stdPackages = append(stdPackages, ip) } importDir[pkg.ImportPath] = pkg.Dir if len(pkg.ImportMap) > 0 { importMap[pkg.Dir] = make(map[string]string, len(pkg.ImportMap)) } for k, v := range pkg.ImportMap { importMap[pkg.Dir][k] = v } } sort.Strings(stdPackages) imports = listImports{ stdPackages: stdPackages, importMap: importMap,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
src/cmd/api/api_test.go
*context = build.Default context.Dir = filepath.Join(testenv.GOROOT(t), "src") w := NewWalker(context, context.Dir) for _, pkg := range w.stdPackages { if strings.HasPrefix(pkg, "vendor/") || strings.HasPrefix(pkg, "golang.org/x/") { t.Fatalf("stdPackages contains unexpected package %s", pkg) } } } func TestIssue64958(t *testing.T) { defer func() { if x := recover(); x != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0)