- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getPackages (0.09 sec)
-
src/cmd/go/internal/load/pkg.go
gorootSrcCmd := filepath.Join(cfg.GOROOTsrc, "cmd") if str.HasPathPrefix(r.dir, gorootSrcCmd) { modroot = gorootSrcCmd } } if modroot != "" { if rp, err := modindex.GetPackage(modroot, r.dir); err == nil { data.p, data.err = rp.Import(cfg.BuildContext, buildMode) goto Happy } else if !errors.Is(err, modindex.ErrNotIndexed) { base.Fatal(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0)