package goroot
import "cuelang.org/go/internal/golangorgx/tools/goroot"
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 ¶
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.
Source Files ¶
importcfg.go
- Version
- v0.12.0 (latest)
- Published
- Jan 30, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 8 hours ago –
Tools for package owners.