tools: Index | Files

package composite

import ""

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


Package Files

composite.go whitelist.go


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


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 13 packages. Updated 2020-10-20. Refresh now. Tools for package owners.