package buildtag
import "golang.org/x/tools/go/analysis/passes/buildtag"
Package buildtag defines an Analyzer that checks build tags.
Index ¶
Constants ¶
const Doc = "check //go:build and // +build directives"
Variables ¶
var Analyzer = &analysis.Analyzer{ Name: "buildtag", Doc: Doc, URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/buildtag", Run: runBuildTag, }
Source Files ¶
buildtag.go
- Version
- v0.9.0
- Published
- May 8, 2023
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 11 minutes ago –
Tools for package owners.