package
1.0.20
Repository: https://github.com/hero1s/golib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
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
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
ShortPath returns an absolute or relative name for path, whatever is shorter.
StartSigHandlers starts the signal handlers.
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
CmdEnv is the new environment for running go tool commands.
swag.
No description provided by the author
Interrupted is closed when the go command receives an interrupt signal.
OrigEnv is the original environment of the program at startup.
SignalTrace is the signal to send to make a Go program crash with a stack trace.
Usage is the usage-reporting function, filled in by package main but here for reference by other packages.

# Structs

A Command is an implementation of a go command like go build or go fix.
An EnvVar is an environment variable Name=Value.