Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readGoInfo (0.09 sec)

  1. src/go/build/build.go

    		// binary, no reading
    		return info, nil
    	}
    
    	f, err := ctxt.openFile(info.name)
    	if err != nil {
    		return nil, err
    	}
    
    	if strings.HasSuffix(name, ".go") {
    		err = readGoInfo(f, info)
    		if strings.HasSuffix(name, "_test.go") {
    			binaryOnly = nil // ignore //go:binary-only-package comments in _test.go files
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top