packagesinternal

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: BSD-3-Clause 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