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

package fillstruct

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

Package fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.

Index

Package Files

fillstruct.go

Constants

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

Variables

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

Package fillstruct imports 14 packages (graph) and is imported by 2 packages. Updated 2020-07-15. Refresh now. Tools for package owners.