const Doc …
var Analyzer …
func run(pass *analysis.Pass) (interface{ … }
type namesSeen …
type uniqueName …
func (s *namesSeen) Get(key, name string, level int) (token.Pos, bool) { … }
func (s *namesSeen) Set(key, name string, level int, pos token.Pos) { … }
var checkTagDups …
var checkTagSpaces …
func checkCanonicalFieldTag(pass *analysis.Pass, field *types.Var, tag string, seen *namesSeen) { … }
func checkTagDuplicates(pass *analysis.Pass, tag, key string, nearest, field *types.Var, seen *namesSeen, level int) { … }
var errTagSyntax …
var errTagKeySyntax …
var errTagValueSyntax …
var errTagValueSpace …
var errTagSpace …
func validateStructTag(tag string) error { … }