Documentation
¶
Overview ¶
Package config provides configuration for headercheck.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Templates []TemplateDef `yaml:"templates"` // Legacy/global defaults (optional): applied to templates without include/exclude Include string `yaml:"include"` Exclude string `yaml:"exclude"` }
Config represents headercheck configuration. `templates` can be either a list of strings or a list of objects {path, include, exclude}.
type TemplateDef ¶
type TemplateDef struct { Path string `yaml:"path"` Include string `yaml:"include"` Exclude string `yaml:"exclude"` }
TemplateDef represents a single template configuration with optional include/exclude.
Click to show internal directories.
Click to hide internal directories.