package unusedwrite

import ""

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


Package Files



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

Doc is a documentation string.


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.

Package unusedwrite imports 5 packages (graph).

Version v0.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

Tools for package owners.