package buildtag

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

Package buildtag defines an Analyzer that checks build tags.

Index

Package Files

buildtag_old.go

Constants

const Doc = "check that +build tags are well-formed and correctly located"

Variables

var Analyzer = &analysis.Analyzer{
    Name: "buildtag",
    Doc:  Doc,
    Run:  runBuildTag,
}

Package buildtag imports 8 packages (graph).

Version v0.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

.
Tools for package owners.