staticchecker

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticChecker

type StaticChecker struct {
	common.CommandRunner
	common.FileSystem
	common.Golang
}

StaticChecker implements the "staticcheck" command

func (StaticChecker) Execute

func (staticChecker StaticChecker) Execute(project common.Project, cfg config.Config) error

Execute executes the command

func (StaticChecker) RequiresBuild

func (staticChecker StaticChecker) RequiresBuild() bool

RequiresBuild indicates if a build is required before running the command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL