Documentation ¶ Index ¶ func Filepass(c *Config, p *analysis.Pass, f *ast.File) error type Config type Import 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 { RequireSingleImport bool // Require the use of a single 'import' declaration only RequireGrouping bool // Require the use of grouped 'import' declarations } type Import ¶ type Import struct { Decl *ast.GenDecl IsGroup bool } Source Files ¶ View all Source files analyzer.go config.go Click to show internal directories. Click to hide internal directories.