directive
package v0.37.0
Go to latest Published: Sep 10, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:8 Opens a new window with list of imports.
Imported by:114 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package directive defines an Analyzer that checks known Go toolchain directives.
Index¶
Constants¶
View Source
const Doc = ``/* 598-byte string literal not displayed */
Variables¶
View Source
var Analyzer = &analysis.Analyzer{Name: "directive",Doc:Doc,URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/directive",Run: runDirective,}
Functions¶
This section is empty.
Types¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.