Directories
¶
| Path | Synopsis |
|---|---|
|
analyzers
|
|
|
allowlist
Package allowlist provides a shared parser for PlatformKit's time-expiring allowlist files.
|
Package allowlist provides a shared parser for PlatformKit's time-expiring allowlist files. |
|
buildtags
Package buildtags defines a go/analysis analyzer that ensures E2E and BDD test files carry the //go:build e2e constraint.
|
Package buildtags defines a go/analysis analyzer that ensures E2E and BDD test files carry the //go:build e2e constraint. |
|
importboundary
Package importboundary defines a go/analysis analyzer that enforces module boundary rules in a modular monolith.
|
Package importboundary defines a go/analysis analyzer that enforces module boundary rules in a modular monolith. |
|
noclockindomain
Package noclockindomain defines a go/analysis analyzer that flags direct wall-clock and randomness calls in module DOMAIN code — files matching features/*/service.go (and service_*.go) inside a cataloged module.
|
Package noclockindomain defines a go/analysis analyzer that flags direct wall-clock and randomness calls in module DOMAIN code — files matching features/*/service.go (and service_*.go) inside a cataloged module. |
|
safeerror
discard.go — the discarded-error sub-check: flags any assignment where a blank identifier `_` receives a value whose static type is `error`, in ANY position of the assignment (not just the last):
|
discard.go — the discarded-error sub-check: flags any assignment where a blank identifier `_` receives a value whose static type is `error`, in ANY position of the assignment (not just the last): |
|
cmd
|
|
|
pk-guard
command
Command pk-guard is the standard pk-guard vettool: the Std analyzer set with no extensions.
|
Command pk-guard is the standard pk-guard vettool: the Std analyzer set with no extensions. |
|
Package guardmain composes go/analysis analyzers into a single vettool binary, so a repository — or a client overlay extending one — declares its guard set in a five-line main:
|
Package guardmain composes go/analysis analyzers into a single vettool binary, so a repository — or a client overlay extending one — declares its guard set in a five-line main: |
|
Package modulecatalog is the single source of truth for a repository's module topology, shared by every analyzer that needs to answer "which module owns this package?".
|
Package modulecatalog is the single source of truth for a repository's module topology, shared by every analyzer that needs to answer "which module owns this package?". |
Click to show internal directories.
Click to hide internal directories.