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

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 11 packages. Updated 2019-09-17. Refresh now. Tools for package owners.