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.
const Doc = "" /* 200 byte string literal not displayed */
var Analyzer = &analysis.Analyzer{ Name: "unmarshal", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Path | Synopsis |
---|---|
cmd/unmarshal | The unmarshal command runs the unmarshal analyzer. |
Package unmarshal imports 6 packages (graph) and is imported by 14 packages. Updated 2021-01-20. Refresh now. Tools for package owners.