shadowpredecl

package
v3.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package shadowpredecl implements a static analyzer which disallows declaring constructs that shadow predeclared Go identifiers by having the same name.

Index

Constants

View Source
const Doc = "Tool to detect declarations that shadow predeclared identifiers by having the same name."

Doc explaining the tool.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "shadowpredecl",
	Doc:      Doc,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Analyzer runs static analysis.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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