golinters

package
v0.0.0-...-7faf06e Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "scopelint"

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: Name,
	Doc:  "Scopelint checks for unpinned variables in go programs",
	Run:  run,
}

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

Node represents a Node being linted.

func (*Node) Visit

func (f *Node) Visit(node ast.Node) ast.Visitor

Visit method is invoked for each node encountered by Walk. If the result visitor w is not nil, Walk visits each of the children of node with the visitor w, followed by a call of w.Visit(nil).

Jump to

Keyboard shortcuts

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