cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Types

type GearConfig

type GearConfig struct {
	Exclude []string          `yaml:"exclude"`
	Rules   map[string]string `yaml:"rules,omitempty"`
}

GearConfig represents the .gearrc configuration file

type ValidationError

type ValidationError struct {
	Rule     string
	File     string
	Line     int
	Column   int
	Message  string
	Severity string // "error", "warning", "info"
}

type ValidationRule

type ValidationRule struct {
	Name        string
	Description string
	Check       func(pkg *ast.Package, files map[string]*ast.File) []ValidationError
}

Jump to

Keyboard shortcuts

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