Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RawImports (0.1 sec)

  1. src/cmd/go/internal/load/test.go

    		ptest.Target = ""
    		// Note: The preparation of the vet config requires that common
    		// indexes in ptest.Imports and ptest.Internal.RawImports
    		// all line up (but RawImports can be shorter than the others).
    		// That is, for 0 ≤ i < len(RawImports),
    		// RawImports[i] is the import string in the program text, and
    		// Imports[i] is the expanded import string (vendoring applied or relative path expanded away).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/list/list.go

    					}
    				}
    			}
    		}
    	}
    
    	// Record non-identity import mappings in p.ImportMap.
    	for _, p := range pkgs {
    		nRaw := len(p.Internal.RawImports)
    		for i, path := range p.Imports {
    			var srcPath string
    			if i < nRaw {
    				srcPath = p.Internal.RawImports[i]
    			} else {
    				// This path is not within the raw imports, so it must be an import
    				// found only within CompiledGoFiles. Those paths are found in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top