Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setPkgErrorf (0.11 sec)

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

    //
    // Note that the GoVersion field is not set here to avoid encoding it twice.
    // It is stored separately in the binary, mostly for historical reasons.
    func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
    	setPkgErrorf := func(format string, args ...any) {
    		if p.Error == nil {
    			p.Error = &PackageError{Err: fmt.Errorf(format, args...)}
    			p.Incomplete = true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top