Back to godoc.org
golang.org/x/tools / go / analysis / passes / structtag

Package structtag

v0.0.0-...-c9a70fc
Latest Go to latest

The latest major version is .

Published: Sep 16, 2020 | License: BSD-3-Clause | Module: golang.org/x/tools

Overview

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

Index

Constants

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

Variables

var Analyzer = &analysis.Analyzer{
	Name:             "structtag",
	Doc:              Doc,
	Requires:         []*analysis.Analyzer{inspect.Analyzer},
	RunDespiteErrors: true,
	Run:              run,
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier