Documentation ¶
Overview ¶
Package goroot is a copy of package internal/goroot in the main GO repot. It provides a utility to produce an importcfg and import path to package file map mapping standard library packages to the locations of their export data files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.