packagesinternal

package
v0.0.0-...-f39ad0c Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package packagesinternal exposes internal-only fields from go/packages.

Index

Constants

This section is empty.

Variables

View Source
var GetDepsErrors = func(p interface{}) []*PackageError { return nil }
View Source
var GetForTest = func(p interface{}) string { return "" }
View Source
var GetGoCmdRunner = func(config interface{}) *gocommand.Runner { return nil }
View Source
var SetGoCmdRunner = func(config interface{}, runner *gocommand.Runner) {}
View Source
var SetModFile = func(config interface{}, value string) {}
View Source
var SetModFlag = func(config interface{}, value string) {}
View Source
var TypecheckCgo int

Functions

This section is empty.

Types

type PackageError

type PackageError struct {
	ImportStack []string // shortest path from package named on command line to this one
	Pos         string   // position of error (if present, file:line:col)
	Err         string   // the error itself
}

Jump to

Keyboard shortcuts

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