golang.org/x/tools/go/packages.Package.Imports (field)
32 uses
golang.org/x/tools/go/packages (current package)
golist.go#L359: Imports: make(map[string]*Package),
golist.go#L650: pkg.Imports = make(map[string]*Package)
golist.go#L652: pkg.Imports[path] = &Package{ID: id} // non-identity import
golist.go#L660: pkg.Imports[id] = &Package{ID: id} // identity import
golist_overlay.go#L169: Imports: make(map[string]*Package),
golist_overlay.go#L179: for k, v := range testVariantOf.Imports {
golist_overlay.go#L180: pkg.Imports[k] = &Package{ID: v.ID}
golist_overlay.go#L204: if _, found := pkg.Imports[imp]; found {
golist_overlay.go#L216: pkg.Imports[imp] = &Package{ID: id}
golist_overlay.go#L219: testVariantOf.Imports[imp] = &Package{ID: id}
golist_overlay.go#L235: for _, imp := range pkg.Imports {
golist_overlay.go#L424: if len(pkg.Imports) > 0 {
packages.go#L341: Imports map[string]*Package
packages.go#L497: if len(p.Imports) > 0 {
packages.go#L498: flat.Imports = make(map[string]string, len(p.Imports))
packages.go#L499: for path, ipkg := range p.Imports {
packages.go#L526: p.Imports = make(map[string]*Package, len(flat.Imports))
packages.go#L528: p.Imports[path] = &Package{ID: id}
packages.go#L707: stubs := lpkg.Imports // the structure form has only stubs with the ID in the Imports
packages.go#L710: lpkg.Imports = make(map[string]*Package, len(stubs))
packages.go#L731: lpkg.Imports[importPath] = imp.Package
packages.go#L749: lpkg.Imports = nil
packages.go#L761: for _, ipkg := range lpkg.Imports {
packages.go#L807: ld.pkgs[i].Imports = nil
packages.go#L842: for _, ipkg := range lpkg.Imports {
packages.go#L1012: ipkg := lpkg.Imports[path]
packages.go#L1080: for _, imp := range lpkg.Imports {
packages.go#L1285: visit(lpkg.Imports)
packages.go#L1289: visit(lpkg.Imports)
visit.go#L27: paths := make([]string, 0, len(pkg.Imports))
visit.go#L28: for path := range pkg.Imports {
visit.go#L33: visit(pkg.Imports[path])