run

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package run implements the "run" CLI command. It discovers Go modules in the current workspace (go.work or go.mod), finds an associated golangci-lint config file for each module, and executes "golangci-lint run [--fix] [--config=<path>] ./..." per module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config bundles the ff/v4 flag set, command node, and the shared root config for the run subcommand.

func New

func New(parent *root.Config) *Config

New self-registers the run subcommand under parent.

Jump to

Keyboard shortcuts

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