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 { RequireSingleType bool // Require the use of a single global 'type' declaration only RequireGrouping bool // Require the use of grouped global 'type' declarations } Source Files ¶ View all Source files analyzer.go config.go Click to show internal directories. Click to hide internal directories.