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

package structtag

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

Package structtag defines an Analyzer that checks struct field tags are well formed.

Index

Package Files

structtag.go

Constants

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

Variables

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

Package structtag imports 11 packages (graph) and is imported by 10 packages. Updated 2019-09-20. Refresh now. Tools for package owners.