goroot

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Importcfg added in v0.6.3

func Importcfg() (string, error)

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

func IsStandardPackage(goroot, compiler, path string) bool

IsStandardPackage reports whether path is a standard package, given goroot and compiler.

func PkgfileMap added in v0.6.3

func PkgfileMap() (map[string]string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL