- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AllowMissingModuleImports (1.56 sec)
-
src/cmd/go/internal/modload/import.go
} if e.QueryErr != nil && e.QueryErr != ErrNoModRoot { return fmt.Sprintf("cannot find module providing package %s: %v", e.Path, e.QueryErr) } if cfg.BuildMod == "mod" || (cfg.BuildMod == "readonly" && allowMissingModuleImports) { return "cannot find module providing package " + e.Path } if e.replaced.Path != "" { suggestArg := e.replaced.Path if !module.IsZeroPseudoVersion(e.replaced.Version) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 27.7K bytes - Viewed (0) -
src/cmd/go/internal/work/build.go
// // See golang.org/issue/40276 for details and rationale. func installOutsideModule(ctx context.Context, args []string) { modload.ForceUseModules = true modload.RootMode = modload.NoRoot modload.AllowMissingModuleImports() modload.Init() BuildInit() // Load packages. Ignore non-main packages. // Print a warning if an argument contains "..." and matches no main packages.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 17:22:59 UTC 2024 - 33.2K bytes - Viewed (0)