Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reusePackage (0.26 sec)

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

    			return true
    		}
    	}
    	return false
    }
    
    // reusePackage reuses package p to satisfy the import at the top
    // of the import stack stk. If this use causes an import loop,
    // reusePackage updates p's error information to record the loop.
    func reusePackage(p *Package, stk *ImportStack) *Package {
    	// We use p.Internal.Imports==nil to detect a package that
    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