predeclared

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: BSD-3-Clause Imports: 6 Imported by: 12

Documentation

Overview

Package predeclared provides a static analysis (used by the predeclared command) that can detect declarations in Go code that shadow one of Go's predeclared identifiers.

Index

Constants

View Source
const (
	IgnoreFlag    = "ignore"
	QualifiedFlag = "q"
)

Flag names used by the analyzer. They are exported for use by analyzer driver programs.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "predeclared",
	Doc:  "find code that shadows one of Go's predeclared identifiers",
	Run:  run,
}

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