sggolangcilint

package
v0.280.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig []byte

Functions

func Command

func Command(ctx context.Context, args ...string) *exec.Cmd

func CommandInDirectory added in v0.165.0

func CommandInDirectory(ctx context.Context, directory string, args ...string) *exec.Cmd

func Fix added in v0.274.0

func Fix(ctx context.Context, args ...string) error

Run GolangCI-Lint --fix in every Go module from the root of the current git repo.

func PrepareCommand

func PrepareCommand(ctx context.Context) error

func Run added in v0.54.0

func Run(ctx context.Context, args ...string) error

Run GolangCI-Lint in every Go module from the root of the current git repo.

Types

This section is empty.

Jump to

Keyboard shortcuts

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