commands

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: GPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	GoVersion string `json:"goVersion"`
	Version   string `json:"version"`
	Commit    string `json:"commit"`
	Date      string `json:"date"`
}

type Executor

type Executor struct {
	DBManager         *lintersdb.Manager
	EnabledLintersSet *lintersdb.EnabledSet
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(buildInfo BuildInfo) *Executor

NewExecutor creates and initializes a new command executor.

func (*Executor) Execute

func (e *Executor) Execute() error

Jump to

Keyboard shortcuts

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