package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev
# Functions
AddBuildFlagsNX adds the -n and -x build flags to the flag set.
AddKnownFlag adds name to the list of known flags for use in $GOFLAGS.
AddLoadFlags adds the -mod build flag to the flag set.
No description provided by the author
EnvForDir returns a modified environment suitable for running in the given directory.
No description provided by the author
No description provided by the author
No description provided by the author
ExpandScanner expands a scanner.List error into all the errors in the list.
No description provided by the author
No description provided by the author
GOFLAGS returns the flags from $GOFLAGS.
InitGOFLAGS initializes the goflags list from $GOFLAGS.
IsTestFile reports whether the source file is a set of tests and should therefore be excluded from coverage analysis.
RelPaths returns a copy of paths with absolute paths made relative to the current directory if they would be shorter.
Run runs the command, with stdout and stderr connected to the go command's own stdout and stderr.
RunStdin is like run but connects Stdin.
No description provided by the author
SetFromGOFLAGS sets the flags in the given flag set using settings in $GOFLAGS.
ShortPath returns an absolute or relative name for path, whatever is shorter.
StartSigHandlers starts the signal handlers.
Tool returns the path to the named tool (for example, "vet").
# Constants
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
Interrupted is closed when the go command receives an interrupt signal.
SignalTrace is the signal to send to make a Go program crash with a stack trace.
Configuration for finding tool binaries.
Configuration for finding tool binaries.
Configuration for finding tool binaries.
Configuration for finding tool binaries.
Usage is the usage-reporting function, filled in by package main but here for reference by other packages.
# Type aliases
A StringsFlag is a command-line flag that interprets its argument as a space-separated list of possibly-quoted strings.