package internal

import "golang.org/x/tools/go/analysis/internal"

Index

Variables

var ActionPass func(action any) *analysis.Pass

This function is set by the checker package to provide backdoor access to the private Pass field of the *checker.Action type, for use by analysistest.

It may return nil, for example if the action was not executed because of a failed dependent.

Source Files

internal.go

Directories

PathSynopsis
go/analysis/internal/analysisflagsPackage analysisflags defines helpers for processing flags (-help, -json, -fix, -diff, etc) common to unitchecker and {single,multi}checker.
go/analysis/internal/checkerPackage internal/checker defines various implementation helpers for the singlechecker and multichecker packages, which provide the complete main function for an analysis driver executable based on go/packages.
go/analysis/internal/versiontest
Version
v0.37.0
Published
Sep 10, 2025
Platform
windows/amd64
Imports
1 packages
Last checked
26 minutes ago

Tools for package owners.