Documentation
¶
Overview ¶
Package gotask implements tasks for running Go specific tools
Package gotask implements tasks for running Go specific tools ¶
Package gotask implements tasks for running Go specific tools
Index ¶
- func NewGoBuildTask(args ...string) goauto.Tasker
- func NewGoInstallTask(args ...string) goauto.Tasker
- func NewGoLintTask(args ...string) goauto.Tasker
- func NewGoMetaLinterTask(args ...string) goauto.Tasker
- func NewGoPrjTask(gocmd string, args ...string) goauto.Tasker
- func NewGoTestTask(args ...string) goauto.Tasker
- func NewGoVetTask(args ...string) goauto.Tasker
- func NewGolangciLintTask(args ...string) goauto.Tasker
- type GolangciLintTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGoBuildTask ¶
NewGoBuildTask returns a task that will build the project
func NewGoInstallTask ¶
NewGoInstallTask returns a task that will install the project
func NewGoLintTask ¶
NewGoLintTask returns a task that will golint the project
func NewGoMetaLinterTask ¶
NewGoMetaLinterTask returns a task that will run gometalinter for the project go get github.com/alecthomas/gometalinter "Concurrently run Go lint tools and normalise their output"
func NewGoPrjTask ¶
NewGoPrjTask returns a goauto.Tasker that runs a go command with optional arguments All of the commands are run on the project directory associated with goauto.TaskInfo.Target goauto.TaskInfo.Target is not updated
func NewGoTestTask ¶
NewGoTestTask returns a new task that will run all the project tests
func NewGoVetTask ¶
NewGoVetTask returns a new task that will vet the project
func NewGolangciLintTask ¶
NewGoLintTask returns a task that will golint the project
Types ¶
type GolangciLintTask ¶
type GolangciLintTask struct {
// contains filtered or unexported fields
}