tools: golang.org/x/tools/internal/lsp/analysis/simplifycompositelit Index | Files

package simplifycompositelit

import "golang.org/x/tools/internal/lsp/analysis/simplifycompositelit"

Package simplifycompositelit defines an Analyzer that simplifies composite literals. https://github.com/golang/go/blob/master/src/cmd/gofmt/simplify.go https://golang.org/cmd/gofmt/#hdr-The_simplify_command

Index

Package Files

simplifycompositelit.go

Constants

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

Variables

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

Package simplifycompositelit imports 11 packages (graph) and is imported by 2 packages. Updated 2020-09-18. Refresh now. Tools for package owners.