package goroot
import "golang.org/x/tools/internal/goroot"
Package goroot is a copy of package internal/goroot in the main GO repot. It provides a utility to produce an import path to package file map mapping standard library packages to the locations of their export data files.
Index ¶
Functions ¶
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 ¶
importcfg.go
- Version
- v0.44.0 (latest)
- Published
- Apr 9, 2026
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 23 minutes ago –
Tools for package owners.