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

package composite

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

Package composite defines an Analyzer that checks for unkeyed composite literals.

Index

Package Files

composite.go whitelist.go

Constants

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

Variables

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

Package composite imports 6 packages (graph) and is imported by 9 packages. Updated 2019-07-18. Refresh now. Tools for package owners.