- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for LoadImportWithFlags (1.48 sec)
-
src/cmd/go/internal/work/action.go
a := b.cacheAction("vet", p, func() *Action { a1 := b.CompileAction(mode|ModeVetOnly, depMode, p) // vet expects to be able to import "fmt". var stk load.ImportStack stk.Push("vet") p1, err := load.LoadImportWithFlags("fmt", p.Dir, p, &stk, nil, 0) if err != nil { base.Fatalf("unexpected error loading fmt package from package %s: %v", p.ImportPath, err) } stk.Pop() aFmt := b.CompileAction(ModeBuild, depMode, p1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0)