tools: golang.org/x/tools/go/analysis/passes/unmarshal Index | Files | Directories

package unmarshal

import "golang.org/x/tools/go/analysis/passes/unmarshal"

The unmarshal package defines an Analyzer that checks for passing non-pointer or non-interface types to unmarshal and decode functions.

Index

Package Files

unmarshal.go

Constants

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

Variables

var Analyzer = &analysis.Analyzer{
    Name:     "unmarshal",
    Doc:      Doc,
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,
}

Directories

PathSynopsis
cmd/unmarshalThe unmarshal command runs the unmarshal analyzer.

Package unmarshal imports 6 packages (graph) and is imported by 13 packages. Updated 2020-04-10. Refresh now. Tools for package owners.