vars

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

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