Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pkgFilenames (0.11 sec)

  1. src/cmd/compile/internal/types2/stdlib_test.go

    			} else {
    				return nil, fmt.Errorf("%s: user-defined object without package: %s", posn, obj)
    			}
    		}
    	}
    
    	return pkg, nil
    }
    
    // pkgFilenames returns the list of package filenames for the given directory.
    func pkgFilenames(dir string, includeTest bool) ([]string, error) {
    	ctxt := build.Default
    	ctxt.CgoEnabled = false
    	pkg, err := ctxt.ImportDir(dir, 0)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/go/types/stdlib_test.go

    			} else {
    				return nil, fmt.Errorf("%s: user-defined object without package: %s", posn, obj)
    			}
    		}
    	}
    
    	return pkg, nil
    }
    
    // pkgFilenames returns the list of package filenames for the given directory.
    func pkgFilenames(dir string, includeTest bool) ([]string, error) {
    	ctxt := build.Default
    	ctxt.CgoEnabled = false
    	pkg, err := ctxt.ImportDir(dir, 0)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top