Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Test goTest = runGoTest
Test runs `go test` and provides optionals for adding command line arguments.
Functions ¶
func ListPackages ¶
ListPackages calls `go list` for every package spec given.
func ListProjectPackages ¶
ListProjectPackages lists all packages in the current project
func ListTestFiles ¶
ListTestFiles lists all go and cgo test files available in a package.
Types ¶
type ArgOpt ¶
type ArgOpt func(args *Args)
ArgOpt is a functional option adding info to Args once executed.
type Args ¶
type Args struct {
// contains filtered or unexported fields
}
Args holds parameters, environment variables and flag information used to pass to the go tool.
Click to show internal directories.
Click to hide internal directories.