...

Package pathcache

import "cmd/internal/pathcache"
Overview
Index

Overview ▾

func LookPath

func LookPath(file string) (path string, err error)

LookPath wraps exec.LookPath and caches the result which can be called by multiple Goroutines at the same time.