Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkPkgFiles (0.1 sec)

  1. src/go/types/gotype.go

    			return nil, err
    		}
    		if info.IsDir() {
    			return parseDir(path)
    		}
    	}
    
    	// list of files
    	return parseFiles("", args)
    }
    
    func checkPkgFiles(files []*ast.File) {
    	type bailout struct{}
    
    	// if checkPkgFiles is called multiple times, set up conf only once
    	conf := types.Config{
    		FakeImportC: true,
    		Error: func(err error) {
    			if !*allErrors && errorCount >= 10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top