...

Package unmarshal

import "cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal"
Overview
Index

Overview ▾

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,
}