Documentation ¶ Index ¶ func Filepass(c *Config, p *analysis.Pass, f *ast.File) error type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Filepass ¶ func Filepass(c *Config, p *analysis.Pass, f *ast.File) error Types ¶ type Config ¶ type Config struct { RequireSingleVar bool // Require the use of a single global 'var' declaration only RequireGrouping bool // Require the use of grouped global 'var' declarations } Source Files ¶ View all Source files analyzer.go config.go Click to show internal directories. Click to hide internal directories.