package
0.31.0
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

Run applies an analysis to the packages denoted by the "go list" patterns.
RunWithSuggestedFixes behaves like Run, but additionally applies suggested fixes and verifies their output.
WriteFiles is a helper function that creates a temporary directory and populates it with a GOPATH-style project using filemap (which maps file names to contents).

# Variables

TestData returns the effective filename of the program's "testdata" directory.

# Structs

A Result holds the result of applying an analyzer to a package.

# Interfaces

Testing is an abstraction of a *testing.T.