staticcheck

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StaticcheckCmd = climax.Command{
	Name:  "staticcheck",
	Brief: "Perform a static analysis of the code using staticcheck",
	Help:  "Perform a static analysis of the code using staticcheck",
	Flags: []climax.Flag{},
	Handle: func(ctx climax.Context) int {

		tool := staticchecker.StaticChecker{}

		executor := internal.NewExecutor("")
		return executor.RunTool(tool, true)

	},
}

StaticcheckCmd defines the build command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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