unusedwrite

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: BSD-3-Clause Imports: 5 Imported by: 125

Documentation

Overview

Package unusedwrite checks for unused writes to the elements of a struct or array object.

Index

Constants

View Source
const Doc = `` /* 600-byte string literal not displayed */

Doc is a documentation string.

Variables

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

Analyzer reports instances of writes to struct fields and arrays that are never read.

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