Directories
¶
| Path | Synopsis |
|---|---|
|
Package analysis defines shared contracts used by every analyzer and report.
|
Package analysis defines shared contracts used by every analyzer and report. |
|
Package analysistestkit provides shared analyzer robustness fixtures.
|
Package analysistestkit provides shared analyzer robustness fixtures. |
|
analyzers
|
|
|
backenderror
Package backenderror prevents configured backend errors from crossing exported API boundaries without an explicit classification step.
|
Package backenderror prevents configured backend errors from crossing exported API boundaries without an explicit classification step. |
|
blockingcontext
Package blockingcontext requires context on configured blocking APIs.
|
Package blockingcontext requires context on configured blocking APIs. |
|
cleanupownership
Package cleanupownership detects discarded cleanup results from configured constructors.
|
Package cleanupownership detects discarded cleanup results from configured constructors. |
|
constructorgoroutine
Package constructorgoroutine forbids hidden goroutine startup in constructors.
|
Package constructorgoroutine forbids hidden goroutine startup in constructors. |
|
forbiddenapi
Package forbiddenapi enforces organization-specific API migrations.
|
Package forbiddenapi enforces organization-specific API migrations. |
|
globalgoroutine
Package globalgoroutine detects goroutines started by package initialization.
|
Package globalgoroutine detects goroutines started by package initialization. |
|
goroutinefanout
Package goroutinefanout detects goroutine launches repeated by loops without a statically proven organization-approved bound.
|
Package goroutinefanout detects goroutine launches repeated by loops without a statically proven organization-approved bound. |
|
httpclienttimeout
Package httpclienttimeout requires explicit timeout ownership for HTTP clients.
|
Package httpclienttimeout requires explicit timeout ownership for HTTP clients. |
|
importboundary
Package importboundary enforces configured package dependency direction.
|
Package importboundary enforces configured package dependency direction. |
|
interfacenaming
Package interfacenaming enforces configured names for exported value interfaces.
|
Package interfacenaming enforces configured names for exported value interfaces. |
|
interfaceplacement
Package interfaceplacement enforces consumer-owned public interfaces in configured provider package trees.
|
Package interfaceplacement enforces consumer-owned public interfaces in configured provider package trees. |
|
lockacrosscall
Package lockacrosscall detects configured calls made while locks are held.
|
Package lockacrosscall detects configured calls made while locks are held. |
|
metriccardinality
Package metriccardinality detects configured high-cardinality typed values passed to configured metric label positions.
|
Package metriccardinality detects configured high-cardinality typed values passed to configured metric label positions. |
|
mutableglobal
Package mutableglobal reports package variables that hold shared mutable state rather than immutable scalar values.
|
Package mutableglobal reports package variables that hold shared mutable state rather than immutable scalar values. |
|
nobackground
Package nobackground restricts root context creation to composition roots.
|
Package nobackground restricts root context creation to composition roots. |
|
nodefaulthttp
Package nodefaulthttp forbids process-global HTTP clients and transports.
|
Package nodefaulthttp forbids process-global HTTP clients and transports. |
|
noinit
Package noinit requires explicit construction instead of package init.
|
Package noinit requires explicit construction instead of package init. |
|
noprocesscontrol
Package noprocesscontrol restricts process termination to entrypoints.
|
Package noprocesscontrol restricts process termination to entrypoints. |
|
nostoredcontext
Package nostoredcontext forbids context lifecycle storage in structs.
|
Package nostoredcontext forbids context lifecycle storage in structs. |
|
nounsafe
Package nounsafe forbids unsafe, cgo, and go:linkname in production policy.
|
Package nounsafe forbids unsafe, cgo, and go:linkname in production policy. |
|
sensitivesink
Package sensitivesink detects typed sensitive values passed to configured sinks.
|
Package sensitivesink detects typed sensitive values passed to configured sinks. |
|
transactionrollback
Package transactionrollback enforces immediate rollback ownership for configured transaction constructors.
|
Package transactionrollback enforces immediate rollback ownership for configured transaction constructors. |
|
cmd
|
|
|
golib-analysis
command
Command analysis runs the governed analyzer suite as a standalone vettool.
|
Command analysis runs the governed analyzer suite as a standalone vettool. |
|
internal
|
|
|
driver
Package driver loads Go packages and executes configured analyzers once.
|
Package driver loads Go packages and executes configured analyzers once. |
|
version
Package version provides the release version shared by reports and commands.
|
Package version provides the release version shared by reports and commands. |
|
Package policy owns rule governance and deterministic inventories.
|
Package policy owns rule governance and deterministic inventories. |
Click to show internal directories.
Click to hide internal directories.