var lookPathCache … // LookPath wraps exec.LookPath and caches the result // which can be called by multiple Goroutines at the same time. func LookPath(file string) (path string, err error) { … }
var lookPathCache … // LookPath wraps exec.LookPath and caches the result // which can be called by multiple Goroutines at the same time. func LookPath(file string) (path string, err error) { … }