package goroot
import "internal/goroot"
Index ¶
- func Importcfg() (string, error)
- func IsStandardPackage(goroot, compiler, path string) bool
- func PkgfileMap() (map[string]string, error)
Functions ¶
func Importcfg ¶
Importcfg returns an importcfg file to be passed to the Go compiler that contains the cached paths for the .a files for the standard library.
func IsStandardPackage ¶
IsStandardPackage reports whether path is a standard package, given goroot and compiler.
func PkgfileMap ¶
PkgfileMap returns a map of package paths to the location on disk of the .a file for the package. The caller must not modify the map.
Source Files ¶
- Version
- v1.20.10
- Published
- Oct 9, 2023
- Platform
- darwin/amd64
- Imports
- 7 packages
- Last checked
- 2 minutes ago –
Tools for package owners.