packagesinternal

package
Version: v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 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 added in v0.1.1

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
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL