Back to godoc.org

Package nilness

v0.0.0-...-c9a70fc
Latest Go to latest

The latest major version is .

Published: Sep 16, 2020 | License: BSD-3-Clause | Module: golang.org/x/tools

Overview

Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons.

Index

Constants

const Doc = "" /* 763 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
	Name:     "nilness",
	Doc:      Doc,
	Run:      run,
	Requires: []*analysis.Analyzer{buildssa.Analyzer},
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier