cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildTime    string
	BuildOSUname string
	BuildCommit  string
)

Build* are initialized during the build via -ldflags

View Source
var LinterReports []*linter.Report

LinterReports is a global map that stores all custom reports generated by NoVerify inside walkers.

Functions

func Check

func Check(ctx *cmd.AppContext, globalContext *walkers.GlobalContext) (status int, err error)

Check is the function that starts the analysis of the project.

func DefaultCacheDir

func DefaultCacheDir() string

DefaultCacheDir function returns the default, depending on the system, directory for storing the cache.

func HandleFunctions

func HandleFunctions(ctx *cmd.AppContext, funcs *symbols.Functions, palette *palette.Palette) []*pipes.ColorReport

HandleFunctions is a function that starts checking colors.

func HandleShowColorReports

func HandleShowColorReports(ctx *cmd.AppContext, reports []*pipes.ColorReport)

func HandleShowLinterReports

func HandleShowLinterReports(ctx *cmd.AppContext, reports []*linter.Report)

func Main

func Main()

Main is the function that launches the program.

Types

This section is empty.

Jump to

Keyboard shortcuts

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