Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultFmtPackageArgument = "./..."
DefaultFmtPackageArgument is the default package argument when calling go fmt.
View Source
const DefaultStaticCheckPackageArgument = "./..."
DefaultStaticCheckPackageArgument is the default package argument when calling staticcheck.
View Source
const DefaultTestPackageArgument = "./..."
DefaultTestPackageArgument is the default package argument when calling go test.
View Source
const DefaultVetPackageArgument = "./..."
DefaultVetPackageArgument is the default package argument when calling go vet.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commands ¶
type Commands map[string]cli.CommandFactory
Commands is the mapping of all available go-toolkit commands.
type StaticCheck ¶ added in v0.2.0
type StaticCheck struct {
// contains filtered or unexported fields
}
func (*StaticCheck) Help ¶ added in v0.2.0
func (s *StaticCheck) Help() string
func (*StaticCheck) Run ¶ added in v0.2.0
func (s *StaticCheck) Run(args []string) int
func (*StaticCheck) Synopsis ¶ added in v0.2.0
func (s *StaticCheck) Synopsis() string
type Test ¶
type Test struct {
// contains filtered or unexported fields
}
type TestArgs ¶
type TestArgs struct { // Do not start new tests after the first test failure. FailFast bool // If true, it will make testing.Short() returns true. // Useful for separating long-running test from the rest of the test-suite or, // excluding tests that should only run when building in the CI. Short bool // Pattern is usually a list of import paths. // See 'go help packages'. Pattern string }
Click to show internal directories.
Click to hide internal directories.