Documentation ¶
Index ¶
- type ArgFunction
- type Binaries
- type Checker
- type Config
- type ConfigReader
- type Converter
- type DiffParser
- type Flow
- type FlowOption
- func WithCommand(command string, args ...string) FlowOption
- func WithConverter(converter Converter) FlowOption
- func WithFileExtensions(exts ...string) FlowOption
- func WithShellFactory(factory func(...shell.ShellOption) shell.Shell) FlowOption
- func WithShellOptions(opts ...shell.ShellOption) FlowOption
- type Formatter
- type Issue
- type LineRange
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgFunction ¶
var DefaultArgFunction ArgFunction = func(lineRange LineRange) []string { return []string{lineRange.File} }
type Config ¶
type Config struct { OutputFormat string `yaml:"OutputFormat"` OutputFile string `yaml:"OutputFile"` VendorDir string `yaml:"VendorDir"` Color *bool `yaml:"Color"` InputFile string }
func NewDefaultConfig ¶
func NewDefaultConfig() Config
func (Config) WithColors ¶ added in v0.1.0
type ConfigReader ¶
type DiffParser ¶
func NewDiffParser ¶
func NewDiffParser() DiffParser
type FlowOption ¶
type FlowOption func(*flow)
func WithCommand ¶
func WithCommand(command string, args ...string) FlowOption
func WithConverter ¶
func WithConverter(converter Converter) FlowOption
func WithFileExtensions ¶
func WithFileExtensions(exts ...string) FlowOption
func WithShellFactory ¶ added in v0.1.0
func WithShellFactory(factory func(...shell.ShellOption) shell.Shell) FlowOption
func WithShellOptions ¶
func WithShellOptions(opts ...shell.ShellOption) FlowOption
Click to show internal directories.
Click to hide internal directories.