SYMBOL INDEX (4760 symbols across 1045 files) FILE: cmd/golangci-lint/main.go function main (line 24) | func main() { function createBuildInfo (line 33) | func createBuildInfo() commands.BuildInfo { FILE: internal/cache/cache.go type HashMode (line 22) | type HashMode constant HashModeNeedOnlySelf (line 25) | HashModeNeedOnlySelf HashMode = iota constant HashModeNeedDirectDeps (line 26) | HashModeNeedDirectDeps constant HashModeNeedAllDeps (line 27) | HashModeNeedAllDeps type hashResults (line 32) | type hashResults type Cache (line 37) | type Cache struct method Close (line 54) | func (c *Cache) Close() { method Put (line 61) | func (c *Cache) Put(pkg *packages.Package, mode HashMode, key string, ... method Get (line 80) | func (c *Cache) Get(pkg *packages.Package, mode HashMode, key string, ... method buildKey (line 97) | func (c *Cache) buildKey(pkg *packages.Package, mode HashMode, key str... method pkgActionID (line 113) | func (c *Cache) pkgActionID(pkg *packages.Package, mode HashMode) (cac... method packageHash (line 130) | func (c *Cache) packageHash(pkg *packages.Package, mode HashMode) (str... method computePkgHash (line 159) | func (c *Cache) computePkgHash(pkg *packages.Package) (hashResults, er... method computeDepsHash (line 202) | func (c *Cache) computeDepsHash(depMode HashMode, imps []*packages.Pac... method putBytes (line 219) | func (c *Cache) putBytes(actionID cache.ActionID, buf *bytes.Buffer) e... method getBytes (line 235) | func (c *Cache) getBytes(actionID cache.ActionID) ([]byte, error) { method fileHash (line 252) | func (c *Cache) fileHash(f string) ([cache.HashSize]byte, error) { method encode (line 266) | func (c *Cache) encode(data any) (*bytes.Buffer, error) { method decode (line 278) | func (c *Cache) decode(b []byte, data any) error { function NewCache (line 45) | func NewCache(sw *timeutils.Stopwatch, log logutils.Log) (*Cache, error) { function SetSalt (line 289) | func SetSalt(b *bytes.Buffer) { function DefaultDir (line 293) | func DefaultDir() string { FILE: internal/cache/cache_test.go function setupCache (line 15) | func setupCache(t *testing.T) *Cache { function fakePackage (line 27) | func fakePackage() *packages.Package { type Foo (line 47) | type Foo struct function TestCache_Put (line 51) | func TestCache_Put(t *testing.T) { function TestCache_Get_missing_data (line 72) | func TestCache_Get_missing_data(t *testing.T) { function TestCache_buildKey (line 88) | func TestCache_buildKey(t *testing.T) { function TestCache_pkgActionID (line 99) | func TestCache_pkgActionID(t *testing.T) { function TestCache_packageHash_load (line 110) | func TestCache_packageHash_load(t *testing.T) { function TestCache_packageHash_store (line 123) | func TestCache_packageHash_store(t *testing.T) { function TestCache_computeHash (line 145) | func TestCache_computeHash(t *testing.T) { FILE: internal/cache/testdata/hello.go function Hello (line 5) | func Hello() { FILE: internal/errorutil/errors.go type PanicError (line 8) | type PanicError struct method Error (line 17) | func (e PanicError) Error() string { method Stack (line 21) | func (e PanicError) Stack() []byte { function NewPanicError (line 13) | func NewPanicError(recovered any, stack []byte) *PanicError { FILE: internal/go/base/error_notunix.go function IsETXTBSY (line 9) | func IsETXTBSY(err error) bool { FILE: internal/go/base/error_unix.go function IsETXTBSY (line 14) | func IsETXTBSY(err error) bool { FILE: internal/go/cache/cache.go type ActionID (line 35) | type ActionID type OutputID (line 38) | type OutputID type Cache (line 41) | type Cache interface type DiskCache (line 83) | type DiskCache struct method fileName (line 121) | func (c *DiskCache) fileName(id [HashSize]byte, key string) string { method Get (line 191) | func (c *DiskCache) Get(id ActionID) (Entry, error) { method get (line 205) | func (c *DiskCache) get(id ActionID) (Entry, error) { method OutputFile (line 322) | func (c *DiskCache) OutputFile(out OutputID) string { method markUsed (line 367) | func (c *DiskCache) markUsed(file string) (isDir bool) { method Close (line 378) | func (c *DiskCache) Close() error { return c.Trim() } method Trim (line 381) | func (c *DiskCache) Trim() error { method trimSubdir (line 421) | func (c *DiskCache) trimSubdir(subdir string, cutoff time.Time) { method putIndexEntry (line 453) | func (c *DiskCache) putIndexEntry(id ActionID, out OutputID, size int6... method Put (line 519) | func (c *DiskCache) Put(id ActionID, file io.ReadSeeker) (OutputID, in... method PutExecutable (line 530) | func (c *DiskCache) PutExecutable(id ActionID, name string, file io.Re... method put (line 549) | func (c *DiskCache) put(id ActionID, executableName string, file io.Re... method copyFile (line 583) | func (c *DiskCache) copyFile(file io.ReadSeeker, executableName string... method FuzzDir (line 714) | func (c *DiskCache) FuzzDir() string { function Open (line 99) | func Open(dir string) (*DiskCache, error) { type entryNotFoundError (line 127) | type entryNotFoundError struct method Error (line 131) | func (e *entryNotFoundError) Error() string { method Unwrap (line 138) | func (e *entryNotFoundError) Unwrap() error { constant hexSize (line 144) | hexSize = HashSize * 2 constant entrySize (line 145) | entrySize = 2 + 1 + hexSize + 1 + hexSize + 1 + 20 + 1 + 20 + 1 type Entry (line 198) | type Entry struct function GetFile (line 269) | func GetFile(c Cache, id ActionID) (file string, entry Entry, err error) { function GetBytes (line 288) | func GetBytes(c Cache, id ActionID) ([]byte, Entry, error) { function GetMmap (line 306) | func GetMmap(c Cache, id ActionID) ([]byte, Entry, bool, error) { constant mtimeInterval (line 351) | mtimeInterval = 1 * time.Hour constant trimInterval (line 352) | trimInterval = 24 * time.Hour constant trimLimit (line 353) | trimLimit = 5 * 24 * time.Hour type noVerifyReadSeeker (line 513) | type noVerifyReadSeeker struct function PutNoVerify (line 545) | func PutNoVerify(c Cache, id ActionID, file io.ReadSeeker) (OutputID, in... function PutBytes (line 576) | func PutBytes(c Cache, id ActionID, data []byte) error { FILE: internal/go/cache/cache_gcil.go function IsErrMissing (line 9) | func IsErrMissing(err error) bool { FILE: internal/go/cache/cache_test.go function init (line 19) | func init() { function TestBasic (line 23) | func TestBasic(t *testing.T) { function TestGrowth (line 64) | func TestGrowth(t *testing.T) { function dummyID (line 132) | func dummyID(x int) [HashSize]byte { function TestCacheTrim (line 138) | func TestCacheTrim(t *testing.T) { FILE: internal/go/cache/default.go function Default (line 17) | func Default() Cache { constant cacheREADME (line 26) | cacheREADME = `This directory holds cached build artifacts from golangci... function initDefaultCache (line 31) | func initDefaultCache() Cache { function DefaultDir (line 69) | func DefaultDir() (string, bool) { FILE: internal/go/cache/default_gcil.go constant envGolangciLintCache (line 4) | envGolangciLintCache = "GOLANGCI_LINT_CACHE" constant envGolangciLintCacheProg (line 5) | envGolangciLintCacheProg = "GOLANGCI_LINT_CACHEPROG" FILE: internal/go/cache/hash.go constant HashSize (line 21) | HashSize = 32 type Hash (line 25) | type Hash struct method Write (line 94) | func (h *Hash) Write(b []byte) (int, error) { method Sum (line 105) | func (h *Hash) Sum() [HashSize]byte { function stripExperiment (line 42) | func stripExperiment(version string) string { function Subkey (line 51) | func Subkey(parent ActionID, desc string) (ActionID, error) { function NewHash (line 78) | func NewHash(name string) (*Hash, error) { function reverseHash (line 132) | func reverseHash(id [HashSize]byte) string { function FileHash (line 150) | func FileHash(file string) ([HashSize]byte, error) { function SetFileHash (line 185) | func SetFileHash(file string, sum [HashSize]byte) { FILE: internal/go/cache/hash_gcil.go function SetSalt (line 3) | func SetSalt(b []byte) { FILE: internal/go/cache/hash_test.go function TestHash (line 13) | func TestHash(t *testing.T) { function TestHashFile (line 29) | func TestHashFile(t *testing.T) { FILE: internal/go/cache/prog.go type ProgCache (line 33) | type ProgCache struct method readLoop (line 149) | func (c *ProgCache) readLoop(readLoopDone chan<- struct{}) { method send (line 186) | func (c *ProgCache) send(ctx context.Context, req *cacheprog.Request) ... method writeToChild (line 205) | func (c *ProgCache) writeToChild(req *cacheprog.Request, resc chan<- *... method Get (line 260) | func (c *ProgCache) Get(a ActionID) (Entry, error) { method noteOutputFile (line 299) | func (c *ProgCache) noteOutputFile(o OutputID, diskPath string) { method OutputFile (line 305) | func (c *ProgCache) OutputFile(o OutputID) string { method Put (line 311) | func (c *ProgCache) Put(a ActionID, file io.ReadSeeker) (_ OutputID, s... method Close (line 350) | func (c *ProgCache) Close() error { method FuzzDir (line 371) | func (c *ProgCache) FuzzDir() string { function startCacheProg (line 72) | func startCacheProg(progAndArgs string, fuzzDirCache Cache) Cache { FILE: internal/go/cacheprog/cacheprog.go type Cmd (line 31) | type Cmd constant CmdPut (line 41) | CmdPut = Cmd("put") constant CmdGet (line 52) | CmdGet = Cmd("get") constant CmdClose (line 58) | CmdClose = Cmd("close") type Request (line 65) | type Request struct type Response (line 112) | type Response struct FILE: internal/go/mmap/mmap.go type Data (line 19) | type Data struct function Mmap (line 25) | func Mmap(file string) (Data, bool, error) { FILE: internal/go/mmap/mmap_other.go function mmapFile (line 15) | func mmapFile(f *os.File) (Data, error) { FILE: internal/go/mmap/mmap_unix.go function mmapFile (line 16) | func mmapFile(f *os.File) (Data, error) { FILE: internal/go/mmap/mmap_windows.go function mmapFile (line 16) | func mmapFile(f *os.File) (Data, error) { FILE: internal/go/quoted/quoted.go function isSpaceByte (line 15) | func isSpaceByte(c byte) bool { function Split (line 25) | func Split(s string) ([]string, error) { function Join (line 65) | func Join(args []string) (string, error) { type Flag (line 107) | type Flag method Set (line 111) | func (f *Flag) Set(v string) error { method String (line 120) | func (f *Flag) String() string { FILE: internal/go/quoted/quoted_test.go function TestSplit (line 13) | func TestSplit(t *testing.T) { function TestJoin (line 56) | func TestJoin(t *testing.T) { FILE: internal/go/testenv/testenv.go function SyscallIsNotSupported (line 15) | func SyscallIsNotSupported(err error) bool { FILE: internal/go/testenv/testenv_notunix.go function syscallIsNotSupported (line 19) | func syscallIsNotSupported(err error) bool { FILE: internal/go/testenv/testenv_unix.go function syscallIsNotSupported (line 19) | func syscallIsNotSupported(err error) bool { FILE: internal/x/tools/diff/diff.go type Edit (line 16) | type Edit struct method String (line 21) | func (e Edit) String() string { function Apply (line 31) | func Apply(src string, edits []Edit) (string, error) { function ApplyBytes (line 58) | func ApplyBytes(src []byte, edits []Edit) ([]byte, error) { function validate (line 66) | func validate(src string, edits []Edit) ([]Edit, int, error) { function SortEdits (line 94) | func SortEdits(edits []Edit) { type editsSort (line 98) | type editsSort method Len (line 100) | func (a editsSort) Len() int { return len(a) } method Less (line 101) | func (a editsSort) Less(i, j int) bool { method Swap (line 107) | func (a editsSort) Swap(i, j int) { a[i], a[j] = a[j], a[i] } function lineEdits (line 112) | func lineEdits(src string, edits []Edit) ([]Edit, error) { function expandEdit (line 155) | func expandEdit(edit Edit, src string) Edit { FILE: internal/x/tools/diff/lcs/common.go type lcs (line 13) | type lcs method sort (line 23) | func (l lcs) sort() lcs { method valid (line 36) | func (l lcs) valid() bool { method fix (line 50) | func (l lcs) fix() lcs { method prepend (line 144) | func (lcs lcs) prepend(x, y int) lcs { method append (line 163) | func (lcs lcs) append(x, y int) lcs { type diag (line 17) | type diag struct type direction (line 81) | type direction constant empty (line 84) | empty direction = iota constant leftdown (line 85) | leftdown constant rightup (line 86) | rightup constant bad (line 87) | bad function overlap (line 92) | func overlap(exist, prop diag) (direction, diag) { function ok (line 177) | func ok(d, k int) bool { FILE: internal/x/tools/diff/lcs/common_test.go type Btest (line 15) | type Btest struct function init (line 62) | func init() { function check (line 66) | func check(t *testing.T, str string, lcs lcs, want []string) { function checkDiffs (line 82) | func checkDiffs(t *testing.T, before string, diffs []Diff, after string) { function lcslen (line 99) | func lcslen(l lcs) int { function randstr (line 108) | func randstr(rng *rand.Rand, s string, n int) string { function TestLcsFix (line 117) | func TestLcsFix(t *testing.T) { FILE: internal/x/tools/diff/lcs/labels.go type label (line 13) | type label struct method set (line 29) | func (t *label) set(D, k, x int) { method get (line 42) | func (t *label) get(d, k int) int { constant debug (line 18) | debug = false function checkDK (line 22) | func checkDK(D, k int) { function newtriang (line 49) | func newtriang(limit int) label { FILE: internal/x/tools/diff/lcs/old.go type Diff (line 14) | type Diff struct function DiffStrings (line 21) | func DiffStrings(a, b string) []Diff { return diff(stringSeqs{a, b}) } function DiffBytes (line 25) | func DiffBytes(a, b []byte) []Diff { return diff(bytesSeqs{a, b}) } function DiffRunes (line 28) | func DiffRunes(a, b []rune) []Diff { return diff(runesSeqs{a, b}) } function diff (line 30) | func diff(seqs sequences) []Diff { function compute (line 40) | func compute(seqs sequences, algo func(*editGraph) lcs, limit int) ([]Di... type editGraph (line 60) | type editGraph struct method fdone (line 91) | func (e *editGraph) fdone(D, k int) (bool, lcs) { method forwardlcs (line 147) | func (e *editGraph) forwardlcs(D, k int) lcs { method lookForward (line 169) | func (e *editGraph) lookForward(k, relx int) int { method setForward (line 178) | func (e *editGraph) setForward(d, k, relx int) { method getForward (line 183) | func (e *editGraph) getForward(d, k int) int { method bdone (line 191) | func (e *editGraph) bdone(D, k int) (bool, lcs) { method backwardlcs (line 252) | func (e *editGraph) backwardlcs(D, k int) lcs { method lookBackward (line 272) | func (e *editGraph) lookBackward(k, relx int) int { method setBackward (line 282) | func (e *editGraph) setBackward(d, k, relx int) { method getBackward (line 287) | func (e *editGraph) getBackward(d, k int) int { method twoDone (line 376) | func (e *editGraph) twoDone(df, db int) (int, bool) { method twolcs (line 405) | func (e *editGraph) twolcs(df, db, kf int) lcs { method toDiffs (line 71) | func (lcs lcs) toDiffs(alen, blen int) []Diff { function forward (line 102) | func forward(e *editGraph) lcs { function backward (line 203) | func backward(e *editGraph) lcs { function twosided (line 294) | func twosided(e *editGraph) lcs { FILE: internal/x/tools/diff/lcs/old_test.go function TestAlgosOld (line 16) | func TestAlgosOld(t *testing.T) { function TestIntOld (line 34) | func TestIntOld(t *testing.T) { function TestSpecialOld (line 62) | func TestSpecialOld(t *testing.T) { // exercises lcs.fix function TestRegressionOld001 (line 71) | func TestRegressionOld001(t *testing.T) { function TestRegressionOld002 (line 84) | func TestRegressionOld002(t *testing.T) { function TestRegressionOld003 (line 96) | func TestRegressionOld003(t *testing.T) { function TestRandOld (line 108) | func TestRandOld(t *testing.T) { function TestDiffAPI (line 134) | func TestDiffAPI(t *testing.T) { function BenchmarkTwoOld (line 161) | func BenchmarkTwoOld(b *testing.B) { function BenchmarkForwOld (line 173) | func BenchmarkForwOld(b *testing.B) { function rng (line 187) | func rng(tb testing.TB) *rand.Rand { function genBench (line 193) | func genBench(rng *rand.Rand, set string, n int) []struct{ before, after... function BenchmarkLargeFileSmallDiff (line 228) | func BenchmarkLargeFileSmallDiff(b *testing.B) { FILE: internal/x/tools/diff/lcs/sequence.go type sequences (line 10) | type sequences interface type stringSeqs (line 16) | type stringSeqs struct method lengths (line 18) | func (s stringSeqs) lengths() (int, int) { return len(s.a), len(s.b) } method commonPrefixLen (line 19) | func (s stringSeqs) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 22) | func (s stringSeqs) commonSuffixLen(ai, aj, bi, bj int) int { type bytesSeqs (line 28) | type bytesSeqs struct method lengths (line 30) | func (s bytesSeqs) lengths() (int, int) { return len(s.a), len(s.b) } method commonPrefixLen (line 31) | func (s bytesSeqs) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 34) | func (s bytesSeqs) commonSuffixLen(ai, aj, bi, bj int) int { type runesSeqs (line 38) | type runesSeqs struct method lengths (line 40) | func (s runesSeqs) lengths() (int, int) { return len(s.a), len(s.b) } method commonPrefixLen (line 41) | func (s runesSeqs) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 44) | func (s runesSeqs) commonSuffixLen(ai, aj, bi, bj int) int { function commonPrefixLenBytes (line 56) | func commonPrefixLenBytes(a, b []byte) int { function commonPrefixLenRunes (line 64) | func commonPrefixLenRunes(a, b []rune) int { function commonPrefixLenString (line 72) | func commonPrefixLenString(a, b string) int { function commonSuffixLenBytes (line 82) | func commonSuffixLenBytes(a, b []byte) int { function commonSuffixLenRunes (line 90) | func commonSuffixLenRunes(a, b []rune) int { function commonSuffixLenString (line 98) | func commonSuffixLenString(a, b string) int { function min (line 107) | func min(x, y int) int { FILE: internal/x/tools/diff/myers/diff.go function ComputeEdits (line 27) | func ComputeEdits(before, after string) []diff.Edit { type opKind (line 58) | type opKind method String (line 66) | func (kind opKind) String() string { constant opDelete (line 61) | opDelete opKind = iota constant opInsert (line 62) | opInsert constant opEqual (line 63) | opEqual type operation (line 79) | type operation struct function operations (line 88) | func operations(a, b []string) []*operation { function backtrack (line 162) | func backtrack(trace [][]int, x, y, offset int) [][]int { function shortestEditSequence (line 192) | func shortestEditSequence(a, b []string) ([][]int, int) { function splitLines (line 240) | func splitLines(text string) []string { FILE: internal/x/tools/diff/ndiff.go function Strings (line 16) | func Strings(before, after string) []Edit { function Bytes (line 30) | func Bytes(before, after []byte) []Edit { function diffASCII (line 41) | func diffASCII(before, after []byte) []Edit { function diffRunes (line 52) | func diffRunes(before, after []rune) []Edit { function runes (line 72) | func runes(bytes []byte) []rune { function runesLen (line 84) | func runesLen(runes []rune) (len int) { function isASCII (line 92) | func isASCII[S string | []byte](s S) bool { FILE: internal/x/tools/diff/unified.go constant DefaultContextLines (line 15) | DefaultContextLines = 3 function Unified (line 20) | func Unified(oldLabel, newLabel, old, new string) string { function ToUnified (line 34) | func ToUnified(oldLabel, newLabel, content string, edits []Edit, context... type unified (line 43) | type unified struct method String (line 198) | func (u unified) String() string { type hunk (line 53) | type hunk struct type line (line 63) | type line struct type opKind (line 73) | type opKind method String (line 88) | func (k opKind) String() string { constant opDelete (line 78) | opDelete opKind = iota constant opInsert (line 80) | opInsert constant opEqual (line 83) | opEqual function toUnified (line 103) | func toUnified(fromName, toName string, content string, edits []Edit, co... function splitLines (line 173) | func splitLines(text string) []string { function addEqualLines (line 181) | func addEqualLines(h *hunk, lines []string, start, end int) int { FILE: internal/x/tools/driverutil/readfile.go function CheckedReadFile (line 22) | func CheckedReadFile(pass *analysis.Pass, readFile ReadFileFunc) ReadFil... function CheckReadable (line 32) | func CheckReadable(pass *analysis.Pass, filename string) error { FILE: internal/x/tools/driverutil/url.go function ResolveURL (line 16) | func ResolveURL(a *analysis.Analyzer, d analysis.Diagnostic) (string, er... FILE: pkg/commands/cache.go type cacheCommand (line 15) | type cacheCommand struct method executeClean (line 53) | func (*cacheCommand) executeClean(_ *cobra.Command, _ []string) error { method executeStatus (line 63) | func (*cacheCommand) executeStatus(_ *cobra.Command, _ []string) { function newCacheCommand (line 19) | func newCacheCommand() *cacheCommand { function dirSizeBytes (line 74) | func dirSizeBytes(path string) (int64, error) { FILE: pkg/commands/config.go type pathOptions (line 19) | type pathOptions struct type configCommand (line 23) | type configCommand struct method preRunE (line 94) | func (c *configCommand) preRunE(cmd *cobra.Command, args []string) err... method executePath (line 109) | func (c *configCommand) executePath(cmd *cobra.Command, _ []string) er... method getUsedConfig (line 136) | func (c *configCommand) getUsedConfig() string { function newConfigCommand (line 36) | func newConfigCommand(log logutils.Log, info BuildInfo) *configCommand { FILE: pkg/commands/config_verify.go type verifyOptions (line 25) | type verifyOptions struct method executeVerify (line 29) | func (c *configCommand) executeVerify(cmd *cobra.Command, _ []string) er... function createSchemaURL (line 58) | func createSchemaURL(flags *pflag.FlagSet, buildInfo BuildInfo) (string,... function extractCommitHash (line 102) | func extractCommitHash(buildInfo BuildInfo) (string, error) { function validateConfiguration (line 129) | func validateConfiguration(schemaPath, targetFile string) error { function printValidationDetail (line 165) | func printValidationDetail(cmd *cobra.Command, detail *jsonschema.Output... function decodeYamlFile (line 179) | func decodeYamlFile(filename string) (any, error) { function decodeTomlFile (line 196) | func decodeTomlFile(filename string) (any, error) { type jsonschemaHTTPLoader (line 213) | type jsonschemaHTTPLoader struct method Load (line 223) | func (l jsonschemaHTTPLoader) Load(url string) (any, error) { function newJSONSchemaHTTPLoader (line 217) | func newJSONSchemaHTTPLoader() *jsonschemaHTTPLoader { FILE: pkg/commands/config_verify_test.go function Test_createSchemaURL (line 11) | func Test_createSchemaURL(t *testing.T) { function Test_createSchemaURL_error (line 99) | func Test_createSchemaURL_error(t *testing.T) { FILE: pkg/commands/custom.go constant envKeepTempFiles (line 15) | envKeepTempFiles = "CUSTOM_GCL_KEEP_TEMP_FILES" type customOptions (line 17) | type customOptions struct type customCommand (line 23) | type customCommand struct method preRunE (line 57) | func (c *customCommand) preRunE(_ *cobra.Command, _ []string) error { method runE (line 85) | func (c *customCommand) runE(cmd *cobra.Command, _ []string) error { function newCustomCommand (line 33) | func newCustomCommand(logger logutils.Log) *customCommand { FILE: pkg/commands/flagsets.go constant defaultMaxIssuesPerLinter (line 13) | defaultMaxIssuesPerLinter = 50 function setupLintersFlagSet (line 15) | func setupLintersFlagSet(v *viper.Viper, fs *pflag.FlagSet) { function setupFormattersFlagSet (line 29) | func setupFormattersFlagSet(v *viper.Viper, fs *pflag.FlagSet) { function setupRunFlagSet (line 34) | func setupRunFlagSet(v *viper.Viper, fs *pflag.FlagSet) { function setupOutputFlagSet (line 62) | func setupOutputFlagSet(v *viper.Viper, fs *pflag.FlagSet) { function setupOutputFormatsFlagSet (line 72) | func setupOutputFormatsFlagSet(v *viper.Viper, fs *pflag.FlagSet) { function setupIssuesFlagSet (line 117) | func setupIssuesFlagSet(v *viper.Viper, fs *pflag.FlagSet) { FILE: pkg/commands/fmt.go type fmtOptions (line 20) | type fmtOptions struct type fmtCommand (line 28) | type fmtCommand struct method persistentPreRunE (line 80) | func (c *fmtCommand) persistentPreRunE(cmd *cobra.Command, args []stri... method preRunE (line 93) | func (c *fmtCommand) preRunE(_ *cobra.Command, _ []string) error { method execute (line 115) | func (c *fmtCommand) execute(_ *cobra.Command, args []string) error { method persistentPostRun (line 128) | func (c *fmtCommand) persistentPostRun(_ *cobra.Command, _ []string) { function newFmtCommand (line 43) | func newFmtCommand(logger logutils.Log, info BuildInfo) *fmtCommand { function cleanArgs (line 134) | func cleanArgs(args []string) []string { FILE: pkg/commands/formatters.go type formattersHelp (line 18) | type formattersHelp struct type formattersOptions (line 23) | type formattersOptions struct type formattersCommand (line 28) | type formattersCommand struct method preRunE (line 72) | func (c *formattersCommand) preRunE(cmd *cobra.Command, args []string)... method execute (line 91) | func (c *formattersCommand) execute(_ *cobra.Command, _ []string) error { function newFormattersCommand (line 41) | func newFormattersCommand(logger logutils.Log) *formattersCommand { FILE: pkg/commands/help.go type helpOptions (line 15) | type helpOptions struct type helpCommand (line 19) | type helpCommand struct function newHelpCommand (line 29) | func newHelpCommand(logger logutils.Log) *helpCommand { function formatDescription (line 78) | func formatDescription(desc string) string { FILE: pkg/commands/help_formatters.go type formatterHelp (line 19) | type formatterHelp struct function newFormatterHelp (line 27) | func newFormatterHelp(lc *linter.Config) formatterHelp { method formattersPreRunE (line 37) | func (c *helpCommand) formattersPreRunE(_ *cobra.Command, _ []string) er... method formattersExecute (line 49) | func (c *helpCommand) formattersExecute(_ *cobra.Command, _ []string) er... method formattersPrintJSON (line 59) | func (c *helpCommand) formattersPrintJSON() error { method formattersPrint (line 77) | func (c *helpCommand) formattersPrint() { function printFormatters (line 95) | func printFormatters(lcs []*linter.Config) { FILE: pkg/commands/help_linters.go type linterHelp (line 20) | type linterHelp struct function newLinterHelp (line 31) | func newLinterHelp(lc *linter.Config) linterHelp { method lintersPreRunE (line 50) | func (c *helpCommand) lintersPreRunE(_ *cobra.Command, _ []string) error { method lintersExecute (line 62) | func (c *helpCommand) lintersExecute(_ *cobra.Command, _ []string) error { method lintersPrintJSON (line 72) | func (c *helpCommand) lintersPrintJSON() error { method lintersPrint (line 90) | func (c *helpCommand) lintersPrint() { function printLinters (line 115) | func printLinters(lcs []*linter.Config) { FILE: pkg/commands/help_test.go function Test_formatDescription (line 9) | func Test_formatDescription(t *testing.T) { FILE: pkg/commands/internal/builder.go type Builder (line 23) | type Builder struct method Build (line 43) | func (b Builder) Build(ctx context.Context) error { method clone (line 91) | func (b Builder) clone(ctx context.Context) error { method addToGoMod (line 110) | func (b Builder) addToGoMod(ctx context.Context) error { method goGet (line 130) | func (b Builder) goGet(ctx context.Context, plugin *Plugin) error { method addReplaceDirective (line 147) | func (b Builder) addReplaceDirective(ctx context.Context, plugin *Plug... method goModTidy (line 165) | func (b Builder) goModTidy(ctx context.Context) error { method goBuild (line 179) | func (b Builder) goBuild(ctx context.Context, binaryName string) error { method copyBinary (line 206) | func (b Builder) copyBinary(binaryName string) error { method getBinaryName (line 243) | func (b Builder) getBinaryName() string { method createVersion (line 252) | func (b Builder) createVersion(orig string) (string, error) { function NewBuilder (line 33) | func NewBuilder(logger logutils.Log, cfg *Configuration, root string) *B... function sanitizeVersion (line 276) | func sanitizeVersion(v string) string { FILE: pkg/commands/internal/builder_test.go function Test_sanitizeVersion (line 9) | func Test_sanitizeVersion(t *testing.T) { FILE: pkg/commands/internal/configuration.go constant base (line 13) | base = ".custom-gcl" constant defaultBinaryName (line 15) | defaultBinaryName = "custom-gcl" type Configuration (line 18) | type Configuration struct method Validate (line 33) | func (c *Configuration) Validate() error { type Plugin (line 79) | type Plugin struct function LoadConfiguration (line 95) | func LoadConfiguration() (*Configuration, error) { function findConfigurationFile (line 118) | func findConfigurationFile() (string, error) { function isConf (line 138) | func isConf(ext, name string) bool { FILE: pkg/commands/internal/configuration_test.go function TestConfiguration_Validate (line 10) | func TestConfiguration_Validate(t *testing.T) { function TestConfiguration_Validate_error (line 53) | func TestConfiguration_Validate_error(t *testing.T) { FILE: pkg/commands/internal/dirhash.go function hashDir (line 19) | func hashDir(dir, prefix string, hash dirhash.Hash) (string, error) { function dirFiles (line 35) | func dirFiles(dir, prefix string) ([]string, error) { FILE: pkg/commands/internal/imports.go constant importsTemplate (line 12) | importsTemplate = ` method updatePluginsFile (line 22) | func (b Builder) updatePluginsFile() error { function generateImports (line 45) | func generateImports(cfg *Configuration) ([]byte, error) { FILE: pkg/commands/internal/imports_test.go function Test_generateImports (line 12) | func Test_generateImports(t *testing.T) { FILE: pkg/commands/internal/migrate/cloner/cloner.go constant newPkgName (line 19) | newPkgName = "versiontwo" constant srcDir (line 22) | srcDir = "./pkg/config" constant dstDir (line 23) | dstDir = "./pkg/commands/internal/migrate/versiontwo" function main (line 26) | func main() { function processPackage (line 44) | func processPackage(srcDir, dstDir string) error { function skipFile (line 67) | func skipFile(path string) bool { function processFile (line 80) | func processFile(file *ast.File) { function processStructFields (line 117) | func processStructFields(structType *ast.StructType) { function convertType (line 138) | func convertType(expr ast.Expr) ast.Expr { function convertStructTag (line 153) | func convertStructTag(value string) string { function wrapStructTag (line 165) | func wrapStructTag(s string) string { function writeNewFile (line 169) | func writeNewFile(fset *token.FileSet, file *ast.File, srcPath, dstDir s... FILE: pkg/commands/internal/migrate/fakeloader/config.go type Config (line 5) | type Config struct method SetConfigDir (line 16) | func (c *Config) SetConfigDir(dir string) { method IsInternalTest (line 20) | func (*Config) IsInternalTest() bool { function NewConfig (line 11) | func NewConfig() *Config { FILE: pkg/commands/internal/migrate/fakeloader/fakeloader.go function Load (line 15) | func Load(srcPath string, old any) error { FILE: pkg/commands/internal/migrate/migrate.go function ToConfig (line 9) | func ToConfig(old *versionone.Config) *versiontwo.Config { FILE: pkg/commands/internal/migrate/migrate_formatters.go function toFormatters (line 12) | func toFormatters(old *versionone.Config) versiontwo.Formatters { function toFormattersPathsFromRules (line 41) | func toFormattersPathsFromRules(old versionone.Issues) []string { function toGciSettings (line 62) | func toGciSettings(old versionone.GciSettings) versiontwo.GciSettings { function toGoFmtSettings (line 72) | func toGoFmtSettings(old versionone.GoFmtSettings) versiontwo.GoFmtSetti... function toGoFumptSettings (line 87) | func toGoFumptSettings(old versionone.GoFumptSettings) versiontwo.GoFump... function toGoImportsSettings (line 94) | func toGoImportsSettings(old versionone.GoImportsSettings) versiontwo.Go... FILE: pkg/commands/internal/migrate/migrate_issues.go function toIssues (line 8) | func toIssues(old *versionone.Config) versiontwo.Issues { FILE: pkg/commands/internal/migrate/migrate_linter_names.go type LinterInfo (line 11) | type LinterInfo struct method isName (line 19) | func (l *LinterInfo) isName(name string) bool { method hasPresets (line 27) | func (l *LinterInfo) hasPresets(names []string) bool { function ProcessEffectiveLinters (line 37) | func ProcessEffectiveLinters(old versionone.Linters) (enable, disable []... function ProcessEffectiveFormatters (line 50) | func ProcessEffectiveFormatters(old versionone.Linters) []string { function disableAllFilter (line 69) | func disableAllFilter(old versionone.Linters) []string { function enableAllFilter (line 98) | func enableAllFilter(old versionone.Linters) []string { function defaultLintersFilter (line 133) | func defaultLintersFilter(old versionone.Linters) (enable, disable []str... function defaultLintersEnableFilter (line 185) | func defaultLintersEnableFilter(old versionone.Linters, effectiveDisable... function defaultLintersDisableFilter (line 202) | func defaultLintersDisableFilter(old versionone.Linters) []LinterInfo { function allLinters (line 213) | func allLinters() []LinterInfo { function toNames (line 730) | func toNames(linters []LinterInfo) []string { function removeLinters (line 740) | func removeLinters(linters, toRemove []LinterInfo) []LinterInfo { function allEnabled (line 748) | func allEnabled(old versionone.Linters, linters []LinterInfo) []LinterIn... function allDisabled (line 760) | func allDisabled(old versionone.Linters, linters []LinterInfo) []LinterI... function filter (line 772) | func filter(linters []LinterInfo, fns ...fnFilter) []LinterInfo { function mergeFilters (line 784) | func mergeFilters(linter LinterInfo, fns []fnFilter) bool { type fnFilter (line 794) | type fnFilter function onlyPresets (line 796) | func onlyPresets(old versionone.Linters) fnFilter { function onlyDefault (line 802) | func onlyDefault(linter LinterInfo) bool { function notDefault (line 806) | func notDefault(linter LinterInfo) bool { function keepFast (line 810) | func keepFast(old versionone.Linters) fnFilter { function keepSlow (line 820) | func keepSlow(old versionone.Linters) fnFilter { function unknownLinterNames (line 830) | func unknownLinterNames(names []string, linters []LinterInfo) []string { function convertStaticcheckLinterNames (line 867) | func convertStaticcheckLinterNames(names []string) []string { function convertDisabledStaticcheckLinterNames (line 882) | func convertDisabledStaticcheckLinterNames(names []string) []string { function onlyLinterNames (line 903) | func onlyLinterNames(names []string) []string { function onlyFormatterNames (line 917) | func onlyFormatterNames(names []string) []string { function convertAlternativeNames (line 931) | func convertAlternativeNames(names []string) []string { function Unique (line 960) | func Unique[S ~[]E, E cmp.Ordered](s S) S { function getAllFormatterNames (line 964) | func getAllFormatterNames() []string { FILE: pkg/commands/internal/migrate/migrate_linter_names_test.go function Test_disableAllFilter (line 12) | func Test_disableAllFilter(t *testing.T) { function Test_enableAllFilter (line 117) | func Test_enableAllFilter(t *testing.T) { function Test_defaultLintersDisableFilter (line 197) | func Test_defaultLintersDisableFilter(t *testing.T) { function Test_defaultLintersEnableFilter (line 296) | func Test_defaultLintersEnableFilter(t *testing.T) { function Test_convertStaticcheckLinterNames (line 377) | func Test_convertStaticcheckLinterNames(t *testing.T) { function Test_unknownLinterNames (line 426) | func Test_unknownLinterNames(t *testing.T) { FILE: pkg/commands/internal/migrate/migrate_linters.go function toLinters (line 9) | func toLinters(old *versionone.Config) versiontwo.Linters { function getDefaultName (line 22) | func getDefaultName(old versionone.Linters) *string { FILE: pkg/commands/internal/migrate/migrate_linters_exclusions.go function toExclusions (line 13) | func toExclusions(old *versionone.Config) versiontwo.LinterExclusions { function toExclusionGenerated (line 22) | func toExclusionGenerated(excludeGenerated *string) *string { function toPresets (line 34) | func toPresets(old versionone.Issues) []string { function toExclusionRules (line 63) | func toExclusionRules(old *versionone.Config) []versiontwo.ExcludeRule { function addPrefix (line 95) | func addPrefix(old versionone.Issues, s *string) *string { function linterTestExclusions (line 108) | func linterTestExclusions(old versionone.LintersSettings) []versiontwo.E... function toExclusionPaths (line 136) | func toExclusionPaths(old versionone.Issues) []string { FILE: pkg/commands/internal/migrate/migrate_linters_settings.go function toLinterSettings (line 12) | func toLinterSettings(old versionone.LintersSettings) versiontwo.Linters... function toAsasalintSettings (line 95) | func toAsasalintSettings(old versionone.AsasalintSettings) versiontwo.As... function toBiDiChkSettings (line 102) | func toBiDiChkSettings(old versionone.BiDiChkSettings) versiontwo.BiDiCh... function toCopyLoopVarSettings (line 118) | func toCopyLoopVarSettings(old versionone.CopyLoopVarSettings) versiontw... function toCyclopSettings (line 124) | func toCyclopSettings(old versionone.Cyclop) versiontwo.CyclopSettings { function toDecorderSettings (line 131) | func toDecorderSettings(old versionone.DecorderSettings) versiontwo.Deco... function toDepGuardSettings (line 144) | func toDepGuardSettings(old versionone.DepGuardSettings) versiontwo.DepG... function toDogsledSettings (line 171) | func toDogsledSettings(old versionone.DogsledSettings) versiontwo.Dogsle... function toDuplSettings (line 177) | func toDuplSettings(old versionone.DuplSettings) versiontwo.DuplSettings { function toDupWordSettings (line 183) | func toDupWordSettings(old versionone.DupWordSettings) versiontwo.DupWor... function toErrcheckSettings (line 190) | func toErrcheckSettings(old versionone.ErrcheckSettings) versiontwo.Errc... function toErrChkJSONSettings (line 199) | func toErrChkJSONSettings(old versionone.ErrChkJSONSettings) versiontwo.... function toErrorLintSettings (line 206) | func toErrorLintSettings(old versionone.ErrorLintSettings) versiontwo.Er... function toExhaustiveSettings (line 230) | func toExhaustiveSettings(old versionone.ExhaustiveSettings) versiontwo.... function toExhaustructSettings (line 243) | func toExhaustructSettings(old versionone.ExhaustructSettings) versiontw... function toFatcontextSettings (line 250) | func toFatcontextSettings(old versionone.FatcontextSettings) versiontwo.... function toForbidigoSettings (line 256) | func toForbidigoSettings(old versionone.ForbidigoSettings) versiontwo.Fo... function toFunlenSettings (line 287) | func toFunlenSettings(old versionone.FunlenSettings) versiontwo.FunlenSe... function toGinkgoLinterSettings (line 295) | func toGinkgoLinterSettings(old versionone.GinkgoLinterSettings) version... function toGocognitSettings (line 312) | func toGocognitSettings(old versionone.GocognitSettings) versiontwo.Goco... function toGoChecksumTypeSettings (line 318) | func toGoChecksumTypeSettings(old versionone.GoChecksumTypeSettings) ver... function toGoConstSettings (line 325) | func toGoConstSettings(old versionone.GoConstSettings) versiontwo.GoCons... function toGoCriticSettings (line 338) | func toGoCriticSettings(old versionone.GoCriticSettings) versiontwo.GoCr... function toGoCycloSettings (line 380) | func toGoCycloSettings(old versionone.GoCycloSettings) versiontwo.GoCycl... function toGodotSettings (line 386) | func toGodotSettings(old versionone.GodotSettings) versiontwo.GodotSetti... function toGodoxSettings (line 395) | func toGodoxSettings(old versionone.GodoxSettings) versiontwo.GodoxSetti... function toGoHeaderSettings (line 401) | func toGoHeaderSettings(old versionone.GoHeaderSettings) versiontwo.GoHe... function toGoModDirectivesSettings (line 409) | func toGoModDirectivesSettings(old versionone.GoModDirectivesSettings) v... function toGoModGuardSettings (line 423) | func toGoModGuardSettings(old versionone.GoModGuardSettings) versiontwo.... function toGoSecSettings (line 463) | func toGoSecSettings(old versionone.GoSecSettings) versiontwo.GoSecSetti... function toGosmopolitanSettings (line 474) | func toGosmopolitanSettings(old versionone.GosmopolitanSettings) version... function toGovetSettings (line 482) | func toGovetSettings(old versionone.GovetSettings) versiontwo.GovetSetti... function toGrouperSettings (line 493) | func toGrouperSettings(old versionone.GrouperSettings) versiontwo.Groupe... function toIfaceSettings (line 506) | func toIfaceSettings(old versionone.IfaceSettings) versiontwo.IfaceSetti... function toImportAsSettings (line 513) | func toImportAsSettings(old versionone.ImportAsSettings) versiontwo.Impo... function toINamedParamSettings (line 529) | func toINamedParamSettings(old versionone.INamedParamSettings) versiontw... function toInterfaceBloatSettings (line 535) | func toInterfaceBloatSettings(old versionone.InterfaceBloatSettings) ver... function toIreturnSettings (line 541) | func toIreturnSettings(old versionone.IreturnSettings) versiontwo.Iretur... function toLllSettings (line 548) | func toLllSettings(old versionone.LllSettings) versiontwo.LllSettings { function toLoggerCheckSettings (line 555) | func toLoggerCheckSettings(old versionone.LoggerCheckSettings) versiontw... function toMaintIdxSettings (line 568) | func toMaintIdxSettings(old versionone.MaintIdxSettings) versiontwo.Main... function toMakezeroSettings (line 574) | func toMakezeroSettings(old versionone.MakezeroSettings) versiontwo.Make... function toMisspellSettings (line 580) | func toMisspellSettings(old versionone.MisspellSettings) versiontwo.Miss... function toMndSettings (line 597) | func toMndSettings(old versionone.MndSettings) versiontwo.MndSettings { function toMustTagSettings (line 606) | func toMustTagSettings(old versionone.MustTagSettings) versiontwo.MustTa... function toNakedretSettings (line 620) | func toNakedretSettings(old versionone.NakedretSettings) versiontwo.Nake... function toNestifSettings (line 626) | func toNestifSettings(old versionone.NestifSettings) versiontwo.NestifSe... function toNilNilSettings (line 632) | func toNilNilSettings(old versionone.NilNilSettings) versiontwo.NilNilSe... function toNlreturnSettings (line 639) | func toNlreturnSettings(old versionone.NlreturnSettings) versiontwo.Nlre... function toNoLintLintSettings (line 645) | func toNoLintLintSettings(old versionone.NoLintLintSettings) versiontwo.... function toNoNamedReturnsSettings (line 654) | func toNoNamedReturnsSettings(old versionone.NoNamedReturnsSettings) ver... function toParallelTestSettings (line 660) | func toParallelTestSettings(old versionone.ParallelTestSettings) version... function toPerfSprintSettings (line 668) | func toPerfSprintSettings(old versionone.PerfSprintSettings) versiontwo.... function toPreallocSettings (line 683) | func toPreallocSettings(old versionone.PreallocSettings) versiontwo.Prea... function toPredeclaredSettings (line 691) | func toPredeclaredSettings(old versionone.PredeclaredSettings) versiontw... function toPromlinterSettings (line 703) | func toPromlinterSettings(old versionone.PromlinterSettings) versiontwo.... function toProtoGetterSettings (line 710) | func toProtoGetterSettings(old versionone.ProtoGetterSettings) versiontw... function toReassignSettings (line 719) | func toReassignSettings(old versionone.ReassignSettings) versiontwo.Reas... function toRecvcheckSettings (line 725) | func toRecvcheckSettings(old versionone.RecvcheckSettings) versiontwo.Re... function toReviveSettings (line 732) | func toReviveSettings(old versionone.ReviveSettings) versiontwo.ReviveSe... function toRowsErrCheckSettings (line 762) | func toRowsErrCheckSettings(old versionone.RowsErrCheckSettings) version... function toSlogLintSettings (line 768) | func toSlogLintSettings(old versionone.SlogLintSettings) versiontwo.Slog... function toSpancheckSettings (line 783) | func toSpancheckSettings(old versionone.SpancheckSettings) versiontwo.Sp... function toStaticCheckSettings (line 791) | func toStaticCheckSettings(old versionone.LintersSettings) versiontwo.St... function toTagAlignSettings (line 824) | func toTagAlignSettings(old versionone.TagAlignSettings) versiontwo.TagA... function toTagliatelleSettings (line 833) | func toTagliatelleSettings(old versionone.TagliatelleSettings) versiontw... function toTestifylintSettings (line 858) | func toTestifylintSettings(old versionone.TestifylintSettings) versiontw... function toTestpackageSettings (line 886) | func toTestpackageSettings(old versionone.TestpackageSettings) versiontw... function toThelperSettings (line 893) | func toThelperSettings(old versionone.ThelperSettings) versiontwo.Thelpe... function toUnconvertSettings (line 918) | func toUnconvertSettings(old versionone.UnconvertSettings) versiontwo.Un... function toUnparamSettings (line 925) | func toUnparamSettings(old versionone.UnparamSettings) versiontwo.Unpara... function toUnusedSettings (line 931) | func toUnusedSettings(old versionone.UnusedSettings) versiontwo.UnusedSe... function toUseStdlibVarsSettings (line 942) | func toUseStdlibVarsSettings(old versionone.UseStdlibVarsSettings) versi... function toUseTestingSettings (line 957) | func toUseTestingSettings(old versionone.UseTestingSettings) versiontwo.... function toVarnamelenSettings (line 969) | func toVarnamelenSettings(old versionone.VarnamelenSettings) versiontwo.... function toWhitespaceSettings (line 984) | func toWhitespaceSettings(old versionone.WhitespaceSettings) versiontwo.... function toWrapcheckSettings (line 991) | func toWrapcheckSettings(old versionone.WrapcheckSettings) versiontwo.Wr... function toWSLSettings (line 1001) | func toWSLSettings(old versionone.WSLSettings) versiontwo.WSLv4Settings { function toCustom (line 1019) | func toCustom(old map[string]versionone.CustomLinterSettings) map[string... FILE: pkg/commands/internal/migrate/migrate_output.go function toOutput (line 11) | func toOutput(old *versionone.Config) versiontwo.Output { function defaultFormatPath (line 81) | func defaultFormatPath(p string) string { function cleanIncompatibleFormats (line 89) | func cleanIncompatibleFormats(old versionone.OutputFormats, f1, f2 strin... FILE: pkg/commands/internal/migrate/migrate_run.go function toRun (line 9) | func toRun(old *versionone.Config) versiontwo.Run { FILE: pkg/commands/internal/migrate/migrate_severity.go function toSeverity (line 8) | func toSeverity(old *versionone.Config) versiontwo.Severity { FILE: pkg/commands/internal/migrate/migrate_test.go type fakeFile (line 19) | type fakeFile struct method Name (line 28) | func (f *fakeFile) Name() string { function newFakeFile (line 24) | func newFakeFile(name string) *fakeFile { function TestToConfig (line 32) | func TestToConfig(t *testing.T) { function testFile (line 67) | func testFile(t *testing.T, in, golden string, update bool) { function updateGolden (line 101) | func updateGolden(t *testing.T, golden string, old *versionone.Config) { FILE: pkg/commands/internal/migrate/parser/parser.go type File (line 16) | type File interface function Decode (line 23) | func Decode(file File, data any) error { function Encode (line 48) | func Encode(data any, dstFile File) error { FILE: pkg/commands/internal/migrate/ptr/ptr.go function Deref (line 3) | func Deref[T any](v *T) T { function Pointer (line 12) | func Pointer[T any](v T) *T { return &v } FILE: pkg/commands/internal/migrate/versionone/base_rule.go type BaseRule (line 3) | type BaseRule struct FILE: pkg/commands/internal/migrate/versionone/config.go type Config (line 3) | type Config struct function NewConfig (line 16) | func NewConfig() *Config { FILE: pkg/commands/internal/migrate/versionone/issues.go type Issues (line 3) | type Issues struct type ExcludeRule (line 30) | type ExcludeRule struct FILE: pkg/commands/internal/migrate/versionone/linters.go type Linters (line 3) | type Linters struct FILE: pkg/commands/internal/migrate/versionone/linters_settings.go type LintersSettings (line 11) | type LintersSettings struct type AsasalintSettings (line 101) | type AsasalintSettings struct type BiDiChkSettings (line 107) | type BiDiChkSettings struct type CopyLoopVarSettings (line 119) | type CopyLoopVarSettings struct type Cyclop (line 126) | type Cyclop struct type DepGuardSettings (line 132) | type DepGuardSettings struct type DepGuardList (line 136) | type DepGuardList struct type DepGuardDeny (line 143) | type DepGuardDeny struct type DecorderSettings (line 148) | type DecorderSettings struct type DogsledSettings (line 159) | type DogsledSettings struct type DuplSettings (line 163) | type DuplSettings struct type DupWordSettings (line 167) | type DupWordSettings struct type ErrcheckSettings (line 172) | type ErrcheckSettings struct type ErrChkJSONSettings (line 185) | type ErrChkJSONSettings struct type ErrorLintSettings (line 190) | type ErrorLintSettings struct type ErrorLintAllowPair (line 199) | type ErrorLintAllowPair struct type ExhaustiveSettings (line 204) | type ExhaustiveSettings struct type ExhaustructSettings (line 216) | type ExhaustructSettings struct type FatcontextSettings (line 221) | type FatcontextSettings struct type ForbidigoSettings (line 225) | type ForbidigoSettings struct type ForbidigoPattern (line 235) | type ForbidigoPattern struct method UnmarshalText (line 247) | func (p *ForbidigoPattern) UnmarshalText(text []byte) error { method MarshalString (line 258) | func (p *ForbidigoPattern) MarshalString() ([]byte, error) { type FunlenSettings (line 266) | type FunlenSettings struct type GinkgoLinterSettings (line 272) | type GinkgoLinterSettings struct type GoChecksumTypeSettings (line 287) | type GoChecksumTypeSettings struct type GocognitSettings (line 292) | type GocognitSettings struct type GoConstSettings (line 296) | type GoConstSettings struct type GoCriticSettings (line 308) | type GoCriticSettings struct type GoCriticCheckSettings (line 319) | type GoCriticCheckSettings type GoCycloSettings (line 321) | type GoCycloSettings struct type GodotSettings (line 325) | type GodotSettings struct type GodoxSettings (line 335) | type GodoxSettings struct type GoHeaderSettings (line 339) | type GoHeaderSettings struct type GoModDirectivesSettings (line 345) | type GoModDirectivesSettings struct type GoModGuardSettings (line 357) | type GoModGuardSettings struct type GoSecSettings (line 375) | type GoSecSettings struct type GosmopolitanSettings (line 385) | type GosmopolitanSettings struct type GovetSettings (line 392) | type GovetSettings struct type GrouperSettings (line 406) | type GrouperSettings struct type IfaceSettings (line 417) | type IfaceSettings struct type ImportAsSettings (line 422) | type ImportAsSettings struct type ImportAsAlias (line 428) | type ImportAsAlias struct type INamedParamSettings (line 433) | type INamedParamSettings struct type InterfaceBloatSettings (line 437) | type InterfaceBloatSettings struct type IreturnSettings (line 441) | type IreturnSettings struct type LllSettings (line 446) | type LllSettings struct type LoggerCheckSettings (line 451) | type LoggerCheckSettings struct type MaintIdxSettings (line 462) | type MaintIdxSettings struct type MakezeroSettings (line 466) | type MakezeroSettings struct type MisspellSettings (line 470) | type MisspellSettings struct type MisspellExtraWords (line 478) | type MisspellExtraWords struct type MustTagSettings (line 483) | type MustTagSettings struct type NakedretSettings (line 491) | type NakedretSettings struct type NestifSettings (line 495) | type NestifSettings struct type NilNilSettings (line 499) | type NilNilSettings struct type NlreturnSettings (line 504) | type NlreturnSettings struct type MndSettings (line 508) | type MndSettings struct type NoLintLintSettings (line 515) | type NoLintLintSettings struct type NoNamedReturnsSettings (line 522) | type NoNamedReturnsSettings struct type ParallelTestSettings (line 526) | type ParallelTestSettings struct type PerfSprintSettings (line 532) | type PerfSprintSettings struct type PreallocSettings (line 548) | type PreallocSettings struct type PredeclaredSettings (line 554) | type PredeclaredSettings struct type PromlinterSettings (line 559) | type PromlinterSettings struct type ProtoGetterSettings (line 564) | type ProtoGetterSettings struct type ReassignSettings (line 571) | type ReassignSettings struct type RecvcheckSettings (line 575) | type RecvcheckSettings struct type ReviveSettings (line 580) | type ReviveSettings struct type RowsErrCheckSettings (line 602) | type RowsErrCheckSettings struct type SlogLintSettings (line 606) | type SlogLintSettings struct type SpancheckSettings (line 619) | type SpancheckSettings struct type StaticCheckSettings (line 625) | type StaticCheckSettings struct type TagAlignSettings (line 632) | type TagAlignSettings struct type TagliatelleSettings (line 639) | type TagliatelleSettings struct type TagliatelleCase (line 643) | type TagliatelleCase struct type TagliatelleOverrides (line 648) | type TagliatelleOverrides struct type TagliatelleBase (line 654) | type TagliatelleBase struct type TagliatelleExtendedRule (line 661) | type TagliatelleExtendedRule struct type TestifylintSettings (line 667) | type TestifylintSettings struct type TestpackageSettings (line 699) | type TestpackageSettings struct type ThelperSettings (line 704) | type ThelperSettings struct type ThelperOptions (line 711) | type ThelperOptions struct type TenvSettings (line 717) | type TenvSettings struct type UseStdlibVarsSettings (line 721) | type UseStdlibVarsSettings struct type UseTestingSettings (line 739) | type UseTestingSettings struct type UnconvertSettings (line 749) | type UnconvertSettings struct type UnparamSettings (line 754) | type UnparamSettings struct type UnusedSettings (line 759) | type UnusedSettings struct type VarnamelenSettings (line 771) | type VarnamelenSettings struct type WhitespaceSettings (line 784) | type WhitespaceSettings struct type WrapcheckSettings (line 789) | type WrapcheckSettings struct type WSLSettings (line 798) | type WSLSettings struct type CustomLinterSettings (line 815) | type CustomLinterSettings struct type GciSettings (line 833) | type GciSettings struct type GoFmtSettings (line 845) | type GoFmtSettings struct type GoFmtRewriteRule (line 850) | type GoFmtRewriteRule struct type GoFumptSettings (line 855) | type GoFumptSettings struct type GoImportsSettings (line 863) | type GoImportsSettings struct FILE: pkg/commands/internal/migrate/versionone/output.go type Output (line 9) | type Output struct type OutputFormat (line 19) | type OutputFormat struct type OutputFormats (line 24) | type OutputFormats method UnmarshalText (line 26) | func (p *OutputFormats) UnmarshalText(text []byte) error { FILE: pkg/commands/internal/migrate/versionone/run.go type Run (line 8) | type Run struct FILE: pkg/commands/internal/migrate/versionone/severity.go type Severity (line 3) | type Severity struct type SeverityRule (line 9) | type SeverityRule struct FILE: pkg/commands/internal/migrate/versiontwo/base_rule.go type BaseRule (line 5) | type BaseRule struct FILE: pkg/commands/internal/migrate/versiontwo/config.go type Config (line 5) | type Config struct FILE: pkg/commands/internal/migrate/versiontwo/formatters.go type Formatters (line 5) | type Formatters struct type FormatterExclusions (line 11) | type FormatterExclusions struct FILE: pkg/commands/internal/migrate/versiontwo/formatters_settings.go type FormatterSettings (line 5) | type FormatterSettings struct type GciSettings (line 13) | type GciSettings struct type GoFmtSettings (line 21) | type GoFmtSettings struct type GoFmtRewriteRule (line 26) | type GoFmtRewriteRule struct type GoFumptSettings (line 31) | type GoFumptSettings struct type GoImportsSettings (line 38) | type GoImportsSettings struct type GoLinesSettings (line 42) | type GoLinesSettings struct FILE: pkg/commands/internal/migrate/versiontwo/issues.go type Issues (line 5) | type Issues struct FILE: pkg/commands/internal/migrate/versiontwo/linters.go type Linters (line 5) | type Linters struct FILE: pkg/commands/internal/migrate/versiontwo/linters_exclusions.go type LinterExclusions (line 5) | type LinterExclusions struct type ExcludeRule (line 14) | type ExcludeRule struct FILE: pkg/commands/internal/migrate/versiontwo/linters_settings.go type LintersSettings (line 5) | type LintersSettings struct type AsasalintSettings (line 92) | type AsasalintSettings struct type BiDiChkSettings (line 97) | type BiDiChkSettings struct type CopyLoopVarSettings (line 109) | type CopyLoopVarSettings struct type CyclopSettings (line 113) | type CyclopSettings struct type DepGuardSettings (line 118) | type DepGuardSettings struct type DepGuardList (line 122) | type DepGuardList struct type DepGuardDeny (line 129) | type DepGuardDeny struct type DecorderSettings (line 134) | type DecorderSettings struct type DogsledSettings (line 145) | type DogsledSettings struct type DuplSettings (line 149) | type DuplSettings struct type DupWordSettings (line 153) | type DupWordSettings struct type EmbeddedStructFieldCheckSettings (line 158) | type EmbeddedStructFieldCheckSettings struct type ErrcheckSettings (line 162) | type ErrcheckSettings struct type ErrChkJSONSettings (line 170) | type ErrChkJSONSettings struct type ErrorLintSettings (line 175) | type ErrorLintSettings struct type ErrorLintAllowPair (line 184) | type ErrorLintAllowPair struct type ExhaustiveSettings (line 189) | type ExhaustiveSettings struct type ExhaustructSettings (line 200) | type ExhaustructSettings struct type FatcontextSettings (line 205) | type FatcontextSettings struct type ForbidigoSettings (line 209) | type ForbidigoSettings struct type ForbidigoPattern (line 215) | type ForbidigoPattern struct type FuncOrderSettings (line 221) | type FuncOrderSettings struct type FunlenSettings (line 227) | type FunlenSettings struct type GinkgoLinterSettings (line 233) | type GinkgoLinterSettings struct type GoChecksumTypeSettings (line 248) | type GoChecksumTypeSettings struct type GocognitSettings (line 253) | type GocognitSettings struct type GoConstSettings (line 257) | type GoConstSettings struct type GoCriticSettings (line 272) | type GoCriticSettings struct type GoCriticCheckSettings (line 283) | type GoCriticCheckSettings type GoCycloSettings (line 285) | type GoCycloSettings struct type GodotSettings (line 289) | type GodotSettings struct type GodoxSettings (line 296) | type GodoxSettings struct type GoHeaderSettings (line 300) | type GoHeaderSettings struct type GoModDirectivesSettings (line 306) | type GoModDirectivesSettings struct type GoModGuardSettings (line 318) | type GoModGuardSettings struct type GoModGuardAllowed (line 323) | type GoModGuardAllowed struct type GoModGuardBlocked (line 328) | type GoModGuardBlocked struct type GoModGuardModule (line 334) | type GoModGuardModule struct type GoModGuardVersion (line 339) | type GoModGuardVersion struct type GoSecSettings (line 344) | type GoSecSettings struct type GosmopolitanSettings (line 353) | type GosmopolitanSettings struct type GovetSettings (line 359) | type GovetSettings struct type GrouperSettings (line 370) | type GrouperSettings struct type IfaceSettings (line 381) | type IfaceSettings struct type ImportAsSettings (line 386) | type ImportAsSettings struct type ImportAsAlias (line 392) | type ImportAsAlias struct type INamedParamSettings (line 397) | type INamedParamSettings struct type InterfaceBloatSettings (line 401) | type InterfaceBloatSettings struct type IreturnSettings (line 405) | type IreturnSettings struct type LllSettings (line 410) | type LllSettings struct type LoggerCheckSettings (line 415) | type LoggerCheckSettings struct type MaintIdxSettings (line 426) | type MaintIdxSettings struct type MakezeroSettings (line 430) | type MakezeroSettings struct type MisspellSettings (line 434) | type MisspellSettings struct type MisspellExtraWords (line 441) | type MisspellExtraWords struct type MustTagSettings (line 446) | type MustTagSettings struct type MustTagFunction (line 450) | type MustTagFunction struct type NakedretSettings (line 456) | type NakedretSettings struct type NestifSettings (line 460) | type NestifSettings struct type NilNilSettings (line 464) | type NilNilSettings struct type NlreturnSettings (line 470) | type NlreturnSettings struct type MndSettings (line 474) | type MndSettings struct type NoLintLintSettings (line 481) | type NoLintLintSettings struct type NoNamedReturnsSettings (line 488) | type NoNamedReturnsSettings struct type ParallelTestSettings (line 492) | type ParallelTestSettings struct type PerfSprintSettings (line 498) | type PerfSprintSettings struct type PreallocSettings (line 514) | type PreallocSettings struct type PredeclaredSettings (line 520) | type PredeclaredSettings struct type PromlinterSettings (line 525) | type PromlinterSettings struct type ProtoGetterSettings (line 530) | type ProtoGetterSettings struct type ReassignSettings (line 537) | type ReassignSettings struct type RecvcheckSettings (line 541) | type RecvcheckSettings struct type ReviveSettings (line 546) | type ReviveSettings struct type ReviveRule (line 558) | type ReviveRule struct type ReviveDirective (line 566) | type ReviveDirective struct type RowsErrCheckSettings (line 571) | type RowsErrCheckSettings struct type SlogLintSettings (line 575) | type SlogLintSettings struct type SpancheckSettings (line 589) | type SpancheckSettings struct type StaticCheckSettings (line 595) | type StaticCheckSettings struct type TagAlignSettings (line 602) | type TagAlignSettings struct type TagliatelleSettings (line 609) | type TagliatelleSettings struct type TagliatelleCase (line 613) | type TagliatelleCase struct type TagliatelleOverrides (line 618) | type TagliatelleOverrides struct type TagliatelleBase (line 624) | type TagliatelleBase struct type TagliatelleExtendedRule (line 631) | type TagliatelleExtendedRule struct type TestifylintSettings (line 637) | type TestifylintSettings struct type TestifylintBoolCompare (line 651) | type TestifylintBoolCompare struct type TestifylintExpectedActual (line 655) | type TestifylintExpectedActual struct type TestifylintFormatter (line 659) | type TestifylintFormatter struct type TestifylintGoRequire (line 665) | type TestifylintGoRequire struct type TestifylintRequireError (line 669) | type TestifylintRequireError struct type TestifylintSuiteExtraAssertCall (line 673) | type TestifylintSuiteExtraAssertCall struct type TestpackageSettings (line 677) | type TestpackageSettings struct type ThelperSettings (line 682) | type ThelperSettings struct type ThelperOptions (line 689) | type ThelperOptions struct type UseStdlibVarsSettings (line 695) | type UseStdlibVarsSettings struct type UseTestingSettings (line 709) | type UseTestingSettings struct type UnconvertSettings (line 719) | type UnconvertSettings struct type UnparamSettings (line 724) | type UnparamSettings struct type UnusedSettings (line 728) | type UnusedSettings struct type VarnamelenSettings (line 737) | type VarnamelenSettings struct type WhitespaceSettings (line 750) | type WhitespaceSettings struct type WrapcheckSettings (line 755) | type WrapcheckSettings struct type WSLv4Settings (line 764) | type WSLv4Settings struct type WSLv5Settings (line 781) | type WSLv5Settings struct type CustomLinterSettings (line 791) | type CustomLinterSettings struct FILE: pkg/commands/internal/migrate/versiontwo/output.go type Output (line 5) | type Output struct FILE: pkg/commands/internal/migrate/versiontwo/output_formats.go type Formats (line 5) | type Formats struct type SimpleFormat (line 17) | type SimpleFormat struct type Text (line 21) | type Text struct type Tab (line 28) | type Tab struct type JUnitXML (line 34) | type JUnitXML struct FILE: pkg/commands/internal/migrate/versiontwo/run.go type Run (line 9) | type Run struct FILE: pkg/commands/internal/migrate/versiontwo/severity.go type Severity (line 5) | type Severity struct type SeverityRule (line 10) | type SeverityRule struct FILE: pkg/commands/internal/vibra.go type FlagFunc (line 10) | type FlagFunc type FlagPFunc (line 12) | type FlagPFunc function AddFlagAndBind (line 15) | func AddFlagAndBind[T any](v *viper.Viper, fs *pflag.FlagSet, pfn FlagFu... function AddFlagAndBindP (line 25) | func AddFlagAndBindP[T any](v *viper.Viper, fs *pflag.FlagSet, pfn FlagP... function AddDeprecatedFlagAndBind (line 35) | func AddDeprecatedFlagAndBind[T any](v *viper.Viper, fs *pflag.FlagSet, ... function AddHackedStringSliceP (line 41) | func AddHackedStringSliceP(fs *pflag.FlagSet, name, shorthand, usage str... function AddHackedStringSlice (line 46) | func AddHackedStringSlice(fs *pflag.FlagSet, name, usage string) { function AddDeprecatedHackedStringSlice (line 51) | func AddDeprecatedHackedStringSlice(fs *pflag.FlagSet, name, usage strin... function deprecateFlag (line 56) | func deprecateFlag(fs *pflag.FlagSet, name string) { FILE: pkg/commands/linters.go type lintersHelp (line 18) | type lintersHelp struct type lintersOptions (line 23) | type lintersOptions struct type lintersCommand (line 28) | type lintersCommand struct method preRunE (line 71) | func (c *lintersCommand) preRunE(cmd *cobra.Command, args []string) er... method execute (line 90) | func (c *lintersCommand) execute(_ *cobra.Command, _ []string) error { function newLintersCommand (line 41) | func newLintersCommand(logger logutils.Log) *lintersCommand { FILE: pkg/commands/migrate.go type migrateOptions (line 25) | type migrateOptions struct type migrateCommand (line 31) | type migrateCommand struct method execute (line 83) | func (c *migrateCommand) execute(_ *cobra.Command, _ []string) error { method preRunE (line 132) | func (c *migrateCommand) preRunE(cmd *cobra.Command, _ []string) error { method persistentPreRunE (line 171) | func (c *migrateCommand) persistentPreRunE(_ *cobra.Command, args []st... method backupConfigurationFile (line 191) | func (c *migrateCommand) backupConfigurationFile(srcPath string) error { function newMigrateCommand (line 44) | func newMigrateCommand(log logutils.Log, info BuildInfo) *migrateCommand { function saveNewConfiguration (line 215) | func saveNewConfiguration(cfg any, dstPath string) error { function callForAction (line 226) | func callForAction(cmd *cobra.Command) { FILE: pkg/commands/root.go function Execute (line 16) | func Execute(info BuildInfo) error { type rootOptions (line 20) | type rootOptions struct type rootCommand (line 27) | type rootCommand struct method Execute (line 80) | func (c *rootCommand) Execute() error { function newRootCommand (line 34) | func newRootCommand(info BuildInfo) *rootCommand { function setupRootPersistentFlags (line 89) | func setupRootPersistentFlags(fs *pflag.FlagSet, opts *rootOptions) { function setupLogger (line 95) | func setupLogger(logger logutils.Log) error { function forceRootParsePersistentFlags (line 124) | func forceRootParsePersistentFlags() (*rootOptions, error) { function safeArgs (line 156) | func safeArgs(fs *pflag.FlagSet, args []string) []string { FILE: pkg/commands/run.go constant defaultTimeout (line 47) | defaultTimeout = 0 * time.Minute constant envFailOnWarnings (line 51) | envFailOnWarnings = "FAIL_ON_WARNINGS" constant envMemLogEvery (line 53) | envMemLogEvery = "GL_MEM_LOG_EVERY" constant envMemProfileRate (line 57) | envMemProfileRate = "GL_MEM_PROFILE_RATE" type runOptions (line 60) | type runOptions struct type runCommand (line 70) | type runCommand struct method persistentPreRunE (line 148) | func (c *runCommand) persistentPreRunE(cmd *cobra.Command, args []stri... method persistentPostRunE (line 170) | func (c *runCommand) persistentPostRunE(_ *cobra.Command, _ []string) ... method preRunE (line 180) | func (c *runCommand) preRunE(_ *cobra.Command, args []string) error { method postRun (line 223) | func (c *runCommand) postRun(_ *cobra.Command, _ []string) { method execute (line 227) | func (c *runCommand) execute(_ *cobra.Command, _ []string) { method startTracing (line 265) | func (c *runCommand) startTracing() error { method stopTracing (line 295) | func (c *runCommand) stopTracing() error { method runAndPrint (line 323) | func (c *runCommand) runAndPrint(ctx context.Context) error { method runAnalysis (line 370) | func (c *runCommand) runAnalysis(ctx context.Context) ([]*result.Issue... method setOutputToDevNull (line 390) | func (c *runCommand) setOutputToDevNull() (savedStdout, savedStderr *o... method setExitCodeIfIssuesFound (line 402) | func (c *runCommand) setExitCodeIfIssuesFound(issues []*result.Issue) { method printDeprecatedLinterMessages (line 408) | func (c *runCommand) printDeprecatedLinterMessages(enabledLinters map[... method printStats (line 438) | func (c *runCommand) printStats(issues []*result.Issue) { method setupExitCode (line 462) | func (c *runCommand) setupExitCode(ctx context.Context) { method acquireFileLock (line 486) | func (c *runCommand) acquireFileLock() bool { method releaseFileLock (line 512) | func (c *runCommand) releaseFileLock() { function newRunCommand (line 99) | func newRunCommand(logger logutils.Log, info BuildInfo) *runCommand { function watchResources (line 525) | func watchResources(ctx context.Context, done chan struct{}, logger logu... function setupConfigFileFlagSet (line 581) | func setupConfigFileFlagSet(fs *pflag.FlagSet, cfg *config.LoaderOptions) { function setupRunPersistentFlags (line 586) | func setupRunPersistentFlags(fs *pflag.FlagSet, opts *runOptions) { function printMemStats (line 596) | func printMemStats(ms *runtime.MemStats, logger logutils.Log) { function formatMemory (line 611) | func formatMemory(memBytes uint64) string { function initHashSalt (line 626) | func initHashSalt(logger logutils.Log, version string, cfg *config.Confi... function computeBinarySalt (line 652) | func computeBinarySalt(version string) ([]byte, error) { function computeConfigSalt (line 685) | func computeConfigSalt(cfg *config.Config) ([]byte, error) { function computeGoModSalt (line 703) | func computeGoModSalt() (string, error) { FILE: pkg/commands/version.go type BuildInfo (line 14) | type BuildInfo struct method String (line 22) | func (b BuildInfo) String() string { type versionOptions (line 27) | type versionOptions struct type versionCommand (line 33) | type versionCommand struct method execute (line 63) | func (c *versionCommand) execute(_ *cobra.Command, _ []string) error { function newVersionCommand (line 40) | func newVersionCommand(info BuildInfo) *versionCommand { function printVersion (line 88) | func printVersion(w io.Writer, info BuildInfo) error { FILE: pkg/config/base_loader.go type BaseConfig (line 19) | type BaseConfig interface type BaseLoader (line 24) | type BaseLoader struct method Load (line 45) | func (l *BaseLoader) Load() error { method setConfigFile (line 59) | func (l *BaseLoader) setConfigFile() error { method evaluateOptions (line 83) | func (l *BaseLoader) evaluateOptions() (string, error) { method setupConfigFileSearch (line 100) | func (l *BaseLoader) setupConfigFileSearch() { method getConfigSearchPaths (line 112) | func (l *BaseLoader) getConfigSearchPaths() []string { method parseConfig (line 156) | func (l *BaseLoader) parseConfig() error { method setConfigDir (line 190) | func (l *BaseLoader) setConfigDir() error { function NewBaseLoader (line 35) | func NewBaseLoader(log logutils.Log, v *viper.Viper, opts LoaderOptions,... function customDecoderHook (line 219) | func customDecoderHook() viper.DecoderConfigOption { function DecodeHookFunc (line 223) | func DecodeHookFunc() mapstructure.DecodeHookFunc { FILE: pkg/config/base_rule.go type BaseRule (line 9) | type BaseRule struct method Validate (line 20) | func (b *BaseRule) Validate(minConditionsCount int) error { function validateOptionalRegex (line 68) | func validateOptionalRegex(value string) error { FILE: pkg/config/config.go constant defaultGoVersion (line 22) | defaultGoVersion = "1.22" type Config (line 25) | type Config struct method GetConfigDir (line 47) | func (c *Config) GetConfigDir() string { method SetConfigDir (line 52) | func (c *Config) SetConfigDir(dir string) { method GetBasePath (line 56) | func (c *Config) GetBasePath() string { method IsInternalTest (line 60) | func (c *Config) IsInternalTest() bool { method Validate (line 64) | func (c *Config) Validate() error { function NewDefault (line 82) | func NewDefault() *Config { function IsGoGreaterThanOrEqual (line 93) | func IsGoGreaterThanOrEqual(current, limit string) bool { function detectGoVersion (line 107) | func detectGoVersion(ctx context.Context, log logutils.Log) string { function detectGoVersionFromGoMod (line 116) | func detectGoVersionFromGoMod(ctx context.Context, log logutils.Log) str... function parseGoVersion (line 150) | func parseGoVersion(v string) string { function parseGoMod (line 165) | func parseGoMod(goMod string) (*modfile.File, error) { function detectGoModFallback (line 174) | func detectGoModFallback(ctx context.Context) string { FILE: pkg/config/config_test.go function TestIsGoGreaterThanOrEqual (line 9) | func TestIsGoGreaterThanOrEqual(t *testing.T) { function Test_parseGoVersion (line 87) | func Test_parseGoVersion(t *testing.T) { FILE: pkg/config/formatters.go type Formatters (line 8) | type Formatters struct method Validate (line 14) | func (f *Formatters) Validate() error { type FormatterExclusions (line 24) | type FormatterExclusions struct FILE: pkg/config/formatters_settings.go type FormatterSettings (line 18) | type FormatterSettings struct type GciSettings (line 26) | type GciSettings struct type GoFmtSettings (line 34) | type GoFmtSettings struct type GoFmtRewriteRule (line 39) | type GoFmtRewriteRule struct type GoFumptSettings (line 44) | type GoFumptSettings struct type GoImportsSettings (line 51) | type GoImportsSettings struct type GoLinesSettings (line 55) | type GoLinesSettings struct FILE: pkg/config/issues.go type Issues (line 3) | type Issues struct FILE: pkg/config/linters.go constant GroupStandard (line 9) | GroupStandard = "standard" constant GroupAll (line 10) | GroupAll = "all" constant GroupNone (line 11) | GroupNone = "none" constant GroupFast (line 12) | GroupFast = "fast" type Linters (line 15) | type Linters struct method Validate (line 26) | func (l *Linters) Validate() error { method validateNoFormatters (line 41) | func (l *Linters) validateNoFormatters() error { function getAllFormatterNames (line 51) | func getAllFormatterNames() []string { FILE: pkg/config/linters_exclusions.go constant GeneratedModeLax (line 9) | GeneratedModeLax = "lax" constant GeneratedModeStrict (line 10) | GeneratedModeStrict = "strict" constant GeneratedModeDisable (line 11) | GeneratedModeDisable = "disable" constant ExclusionPresetComments (line 15) | ExclusionPresetComments = "comments" constant ExclusionPresetStdErrorHandling (line 16) | ExclusionPresetStdErrorHandling = "std-error-handling" constant ExclusionPresetCommonFalsePositives (line 17) | ExclusionPresetCommonFalsePositives = "common-false-positives" constant ExclusionPresetLegacy (line 18) | ExclusionPresetLegacy = "legacy" constant excludeRuleMinConditionsCount (line 21) | excludeRuleMinConditionsCount = 2 type LinterExclusions (line 23) | type LinterExclusions struct method Validate (line 32) | func (e *LinterExclusions) Validate() error { type ExcludeRule (line 55) | type ExcludeRule struct method Validate (line 59) | func (e *ExcludeRule) Validate() error { FILE: pkg/config/linters_exclusions_test.go function TestLinterExclusions_Validate (line 9) | func TestLinterExclusions_Validate(t *testing.T) { function TestLinterExclusions_Validate_error (line 36) | func TestLinterExclusions_Validate_error(t *testing.T) { FILE: pkg/config/linters_settings.go type LintersSettings (line 239) | type LintersSettings struct method Validate (line 331) | func (s *LintersSettings) Validate() error { type AsasalintSettings (line 345) | type AsasalintSettings struct type BiDiChkSettings (line 350) | type BiDiChkSettings struct type CopyLoopVarSettings (line 362) | type CopyLoopVarSettings struct type CyclopSettings (line 366) | type CyclopSettings struct type DepGuardSettings (line 371) | type DepGuardSettings struct type DepGuardList (line 375) | type DepGuardList struct type DepGuardDeny (line 382) | type DepGuardDeny struct type DecorderSettings (line 387) | type DecorderSettings struct type DogsledSettings (line 398) | type DogsledSettings struct type DuplSettings (line 402) | type DuplSettings struct type DupWordSettings (line 406) | type DupWordSettings struct type EmbeddedStructFieldCheckSettings (line 412) | type EmbeddedStructFieldCheckSettings struct type ErrcheckSettings (line 417) | type ErrcheckSettings struct type ErrChkJSONSettings (line 425) | type ErrChkJSONSettings struct type ErrorLintSettings (line 430) | type ErrorLintSettings struct type ErrorLintAllowPair (line 439) | type ErrorLintAllowPair struct type ExhaustiveSettings (line 444) | type ExhaustiveSettings struct type ExhaustructSettings (line 455) | type ExhaustructSettings struct type FatcontextSettings (line 464) | type FatcontextSettings struct type ForbidigoSettings (line 468) | type ForbidigoSettings struct type ForbidigoPattern (line 474) | type ForbidigoPattern struct type FuncOrderSettings (line 480) | type FuncOrderSettings struct type FunlenSettings (line 486) | type FunlenSettings struct type GinkgoLinterSettings (line 492) | type GinkgoLinterSettings struct type GoChecksumTypeSettings (line 509) | type GoChecksumTypeSettings struct type GocognitSettings (line 514) | type GocognitSettings struct type GoConstSettings (line 518) | type GoConstSettings struct type GoCriticSettings (line 534) | type GoCriticSettings struct type GoCriticCheckSettings (line 545) | type GoCriticCheckSettings type GoCycloSettings (line 547) | type GoCycloSettings struct type GodoclintSettings (line 551) | type GodoclintSettings struct type GodotSettings (line 569) | type GodotSettings struct type GodoxSettings (line 576) | type GodoxSettings struct type GoHeaderSettings (line 580) | type GoHeaderSettings struct type GoModDirectivesSettings (line 586) | type GoModDirectivesSettings struct type GoModGuardSettings (line 599) | type GoModGuardSettings struct type GoModGuardAllowed (line 604) | type GoModGuardAllowed struct type GoModGuardBlocked (line 609) | type GoModGuardBlocked struct type GoModGuardModule (line 615) | type GoModGuardModule struct type GoModGuardVersion (line 620) | type GoModGuardVersion struct type GoSecSettings (line 625) | type GoSecSettings struct type GosmopolitanSettings (line 634) | type GosmopolitanSettings struct type GovetSettings (line 640) | type GovetSettings struct method Validate (line 651) | func (cfg *GovetSettings) Validate() error { type GrouperSettings (line 664) | type GrouperSettings struct type IfaceSettings (line 675) | type IfaceSettings struct type ImportAsSettings (line 680) | type ImportAsSettings struct type ImportAsAlias (line 686) | type ImportAsAlias struct type INamedParamSettings (line 691) | type INamedParamSettings struct type IneffassignSettings (line 695) | type IneffassignSettings struct type InterfaceBloatSettings (line 699) | type InterfaceBloatSettings struct type IotaMixingSettings (line 703) | type IotaMixingSettings struct type IreturnSettings (line 707) | type IreturnSettings struct type LllSettings (line 712) | type LllSettings struct type LoggerCheckSettings (line 717) | type LoggerCheckSettings struct type MaintIdxSettings (line 728) | type MaintIdxSettings struct type MakezeroSettings (line 732) | type MakezeroSettings struct type MisspellSettings (line 736) | type MisspellSettings struct type MisspellExtraWords (line 743) | type MisspellExtraWords struct type MustTagSettings (line 748) | type MustTagSettings struct type MustTagFunction (line 752) | type MustTagFunction struct type NakedretSettings (line 758) | type NakedretSettings struct type NestifSettings (line 762) | type NestifSettings struct type NilNilSettings (line 766) | type NilNilSettings struct type NlreturnSettings (line 772) | type NlreturnSettings struct type MndSettings (line 776) | type MndSettings struct type ModernizeSettings (line 783) | type ModernizeSettings struct type NoLintLintSettings (line 787) | type NoLintLintSettings struct type NoNamedReturnsSettings (line 794) | type NoNamedReturnsSettings struct type ParallelTestSettings (line 798) | type ParallelTestSettings struct type PerfSprintSettings (line 804) | type PerfSprintSettings struct type PreallocSettings (line 823) | type PreallocSettings struct type PredeclaredSettings (line 829) | type PredeclaredSettings struct type PromlinterSettings (line 834) | type PromlinterSettings struct type ProtoGetterSettings (line 839) | type ProtoGetterSettings struct type ReassignSettings (line 846) | type ReassignSettings struct type RecvcheckSettings (line 850) | type RecvcheckSettings struct type ReviveSettings (line 855) | type ReviveSettings struct type ReviveRule (line 868) | type ReviveRule struct type ReviveDirective (line 876) | type ReviveDirective struct type RowsErrCheckSettings (line 881) | type RowsErrCheckSettings struct type SlogLintSettings (line 885) | type SlogLintSettings struct type SpancheckSettings (line 899) | type SpancheckSettings struct type StaticCheckSettings (line 905) | type StaticCheckSettings struct method HasConfiguration (line 912) | func (s *StaticCheckSettings) HasConfiguration() bool { type TagAlignSettings (line 916) | type TagAlignSettings struct type TagliatelleSettings (line 923) | type TagliatelleSettings struct type TagliatelleCase (line 927) | type TagliatelleCase struct type TagliatelleOverrides (line 932) | type TagliatelleOverrides struct type TagliatelleBase (line 938) | type TagliatelleBase struct type TagliatelleExtendedRule (line 945) | type TagliatelleExtendedRule struct type TestifylintSettings (line 951) | type TestifylintSettings struct type TestifylintBoolCompare (line 965) | type TestifylintBoolCompare struct type TestifylintExpectedActual (line 969) | type TestifylintExpectedActual struct type TestifylintFormatter (line 973) | type TestifylintFormatter struct type TestifylintGoRequire (line 979) | type TestifylintGoRequire struct type TestifylintRequireError (line 983) | type TestifylintRequireError struct type TestifylintSuiteExtraAssertCall (line 987) | type TestifylintSuiteExtraAssertCall struct type TestpackageSettings (line 991) | type TestpackageSettings struct type ThelperSettings (line 996) | type ThelperSettings struct type ThelperOptions (line 1003) | type ThelperOptions struct type UseStdlibVarsSettings (line 1009) | type UseStdlibVarsSettings struct type UseTestingSettings (line 1023) | type UseTestingSettings struct type UnconvertSettings (line 1033) | type UnconvertSettings struct type UnparamSettings (line 1038) | type UnparamSettings struct type UnqueryvetSettings (line 1042) | type UnqueryvetSettings struct type UnqueryvetSQLBuildersSettings (line 1059) | type UnqueryvetSQLBuildersSettings struct type UnqueryvetCustomRule (line 1070) | type UnqueryvetCustomRule struct type UnusedSettings (line 1079) | type UnusedSettings struct type VarnamelenSettings (line 1088) | type VarnamelenSettings struct type WhitespaceSettings (line 1101) | type WhitespaceSettings struct type WrapcheckSettings (line 1106) | type WrapcheckSettings struct type WSLv4Settings (line 1116) | type WSLv4Settings struct type WSLv5Settings (line 1133) | type WSLv5Settings struct type CustomLinterSettings (line 1144) | type CustomLinterSettings struct method Validate (line 1162) | func (s *CustomLinterSettings) Validate() error { FILE: pkg/config/linters_settings_test.go function TestLintersSettings_Validate (line 9) | func TestLintersSettings_Validate(t *testing.T) { function TestLintersSettings_Validate_error (line 45) | func TestLintersSettings_Validate_error(t *testing.T) { function TestCustomLinterSettings_Validate (line 86) | func TestCustomLinterSettings_Validate(t *testing.T) { function TestCustomLinterSettings_Validate_error (line 122) | func TestCustomLinterSettings_Validate_error(t *testing.T) { function TestGovetSettings_Validate (line 154) | func TestGovetSettings_Validate(t *testing.T) { function TestGovetSettings_Validate_error (line 189) | func TestGovetSettings_Validate_error(t *testing.T) { FILE: pkg/config/loader.go constant modeLinters (line 21) | modeLinters = "linters" constant modeFormatters (line 22) | modeFormatters = "formatters" type LoaderOptions (line 25) | type LoaderOptions struct type LoadOptions (line 30) | type LoadOptions struct type Loader (line 35) | type Loader struct method Load (line 67) | func (l *Loader) Load(opts LoadOptions) error { method applyStringSliceHack (line 136) | func (l *Loader) applyStringSliceHack() { method appendStringSlice (line 146) | func (l *Loader) appendStringSlice(name string, current *[]string) { method checkConfigurationVersion (line 153) | func (l *Loader) checkConfigurationVersion() error { method handleGoVersion (line 162) | func (l *Loader) handleGoVersion() { method handleDeprecation (line 183) | func (l *Loader) handleDeprecation() error { method handleLinterOptionDeprecations (line 193) | func (l *Loader) handleLinterOptionDeprecations() { method handleEnableOnlyOption (line 204) | func (l *Loader) handleEnableOnlyOption() error { method handleFormatters (line 229) | func (l *Loader) handleFormatters() { method handleFormatterOverrides (line 235) | func (l *Loader) handleFormatterOverrides() { method handleFormatterExclusions (line 258) | func (l *Loader) handleFormatterExclusions() { method handleFormatterDeprecations (line 273) | func (*Loader) handleFormatterDeprecations() { function NewLintersLoader (line 45) | func NewLintersLoader(log logutils.Log, v *viper.Viper, fs *pflag.FlagSe... function NewFormattersLoader (line 52) | func NewFormattersLoader(log logutils.Log, v *viper.Viper, fs *pflag.Fla... function newLoader (line 59) | func newLoader(log logutils.Log, v *viper.Viper, fs *pflag.FlagSet, opts... FILE: pkg/config/output.go type Output (line 11) | type Output struct method Validate (line 19) | func (o *Output) Validate() error { method validateSortOrder (line 34) | func (o *Output) validateSortOrder() error { method validatePathMode (line 52) | func (o *Output) validatePathMode() error { FILE: pkg/config/output_formats.go type Formats (line 3) | type Formats struct method IsEmpty (line 15) | func (f *Formats) IsEmpty() bool { type SimpleFormat (line 37) | type SimpleFormat struct type Text (line 41) | type Text struct type Tab (line 48) | type Tab struct type JUnitXML (line 54) | type JUnitXML struct FILE: pkg/config/output_test.go function TestOutput_Validate (line 11) | func TestOutput_Validate(t *testing.T) { function TestOutput_Validate_error (line 64) | func TestOutput_Validate_error(t *testing.T) { FILE: pkg/config/placeholders.go constant placeholderBasePath (line 7) | placeholderBasePath = "${base-path}" constant placeholderConfigPath (line 10) | placeholderConfigPath = "${config-path}" function NewPlaceholderReplacer (line 13) | func NewPlaceholderReplacer(cfg *Config) *strings.Replacer { FILE: pkg/config/run.go type Run (line 13) | type Run struct method Validate (line 33) | func (r *Run) Validate() error { FILE: pkg/config/run_test.go function TestRun_Validate (line 9) | func TestRun_Validate(t *testing.T) { function TestRun_Validate_error (line 50) | func TestRun_Validate_error(t *testing.T) { FILE: pkg/config/severity.go constant severityRuleMinConditionsCount (line 8) | severityRuleMinConditionsCount = 1 type Severity (line 10) | type Severity struct method Validate (line 15) | func (s *Severity) Validate() error { type SeverityRule (line 29) | type SeverityRule struct method Validate (line 34) | func (s *SeverityRule) Validate() error { FILE: pkg/config/severity_test.go function TestSeverity_Validate (line 9) | func TestSeverity_Validate(t *testing.T) { function TestSeverity_Validate_error (line 60) | func TestSeverity_Validate_error(t *testing.T) { function TestSeverityRule_Validate (line 107) | func TestSeverityRule_Validate(t *testing.T) { function TestSeverityRule_Validate_error (line 119) | func TestSeverityRule_Validate_error(t *testing.T) { FILE: pkg/exitcodes/exitcodes.go constant Success (line 4) | Success = iota constant IssuesFound (line 5) | IssuesFound constant WarningInTest (line 6) | WarningInTest constant Failure (line 7) | Failure constant Timeout (line 8) | Timeout constant NoGoFiles (line 9) | NoGoFiles constant NoConfigFileDetected (line 10) | NoConfigFileDetected constant ErrorWasLogged (line 11) | ErrorWasLogged type ExitError (line 14) | type ExitError struct method Error (line 19) | func (e ExitError) Error() string { FILE: pkg/fsutils/basepath.go constant RelativePathModeGoMod (line 16) | RelativePathModeGoMod = "gomod" constant RelativePathModeGitRoot (line 17) | RelativePathModeGitRoot = "gitroot" constant RelativePathModeCfg (line 18) | RelativePathModeCfg = "cfg" constant RelativePathModeWd (line 19) | RelativePathModeWd = "wd" constant OutputPathModeAbsolute (line 23) | OutputPathModeAbsolute = "abs" function AllRelativePathModes (line 25) | func AllRelativePathModes() []string { function GetBasePath (line 29) | func GetBasePath(ctx context.Context, mode, cfgDir string) (string, erro... function gitRoot (line 69) | func gitRoot(ctx context.Context) (string, error) { FILE: pkg/fsutils/filecache.go type FileCache (line 11) | type FileCache struct method GetFileBytes (line 19) | func (fc *FileCache) GetFileBytes(filePath string) ([]byte, error) { method PrintStats (line 54) | func (fc *FileCache) PrintStats(log logutils.Log) { function NewFileCache (line 15) | func NewFileCache() *FileCache { function PrettifyBytesCount (line 34) | func PrettifyBytesCount(n int64) string { FILE: pkg/fsutils/fsutils.go function IsDir (line 10) | func IsDir(filename string) bool { function UseWdCache (line 22) | func UseWdCache(use bool) { function Getwd (line 26) | func Getwd() (string, error) { type evalSymlinkRes (line 51) | type evalSymlinkRes struct function EvalSymlinks (line 56) | func EvalSymlinks(path string) (string, error) { function ShortestRelPath (line 70) | func ShortestRelPath(path, wd string) (string, error) { FILE: pkg/fsutils/fsutils_test.go function TestShortestRelPath (line 11) | func TestShortestRelPath(t *testing.T) { FILE: pkg/fsutils/fsutils_unix.go function evalSymlinks (line 7) | func evalSymlinks(path string) (string, error) { FILE: pkg/fsutils/fsutils_windows.go function evalSymlinks (line 22) | func evalSymlinks(path string) (string, error) { FILE: pkg/fsutils/linecache.go type fileLinesCache (line 9) | type fileLinesCache type LineCache (line 11) | type LineCache struct method GetLine (line 23) | func (lc *LineCache) GetLine(filePath string, index1 int) (string, err... method getRawLine (line 37) | func (lc *LineCache) getRawLine(filePath string, index0 int) ([]byte, ... method getFileCache (line 54) | func (lc *LineCache) getFileCache(filePath string) (fileLinesCache, er... function NewLineCache (line 16) | func NewLineCache(fc *FileCache) *LineCache { FILE: pkg/fsutils/path_unix.go function NormalizePathInRegex (line 6) | func NormalizePathInRegex(path string) string { FILE: pkg/fsutils/path_windows.go function NormalizePathInRegex (line 17) | func NormalizePathInRegex(path string) string { FILE: pkg/goanalysis/issue.go type Issue (line 11) | type Issue struct function NewIssue (line 16) | func NewIssue(issue *result.Issue, pass *analysis.Pass) *Issue { type EncodingIssue (line 23) | type EncodingIssue struct FILE: pkg/goanalysis/linter.go type LoadMode (line 16) | type LoadMode method String (line 18) | func (loadMode LoadMode) String() string { constant LoadModeNone (line 33) | LoadModeNone LoadMode = iota constant LoadModeSyntax (line 34) | LoadModeSyntax constant LoadModeTypesInfo (line 35) | LoadModeTypesInfo constant LoadModeWholeProgram (line 36) | LoadModeWholeProgram type Linter (line 39) | type Linter struct method Run (line 57) | func (lnt *Linter) Run(_ context.Context, lintCtx *linter.Context) ([]... method UseOriginalPackages (line 65) | func (lnt *Linter) UseOriginalPackages() { method LoadMode (line 69) | func (lnt *Linter) LoadMode() LoadMode { method WithDesc (line 73) | func (lnt *Linter) WithDesc(desc string) *Linter { method WithVersion (line 79) | func (lnt *Linter) WithVersion(v int) *Linter { method WithConfig (line 98) | func (lnt *Linter) WithConfig(cfg map[string]any) *Linter { method WithLoadMode (line 110) | func (lnt *Linter) WithLoadMode(loadMode LoadMode) *Linter { method WithIssuesReporter (line 115) | func (lnt *Linter) WithIssuesReporter(r func(*linter.Context) []*Issue... method WithContextSetter (line 120) | func (lnt *Linter) WithContextSetter(cs func(*linter.Context)) *Linter { method Name (line 125) | func (lnt *Linter) Name() string { method Desc (line 129) | func (lnt *Linter) Desc() string { method allAnalyzerNames (line 133) | func (lnt *Linter) allAnalyzerNames() []string { method configureAnalyzer (line 141) | func (*Linter) configureAnalyzer(a *analysis.Analyzer, cfg map[string]... method configure (line 162) | func (lnt *Linter) configure() error { method preRun (line 183) | func (lnt *Linter) preRun(lintCtx *linter.Context) error { method getName (line 199) | func (lnt *Linter) getName() string { method getLinterNameForDiagnostic (line 203) | func (lnt *Linter) getLinterNameForDiagnostic(*Diagnostic) string { method getAnalyzers (line 207) | func (lnt *Linter) getAnalyzers() []*analysis.Analyzer { method useOriginalPackages (line 211) | func (lnt *Linter) useOriginalPackages() bool { method reportIssues (line 215) | func (lnt *Linter) reportIssues(lintCtx *linter.Context) []*Issue { method getLoadMode (line 222) | func (lnt *Linter) getLoadMode() LoadMode { function NewLinter (line 49) | func NewLinter(name, desc string, analyzers []*analysis.Analyzer, cfg ma... function NewLinterFromAnalyzer (line 53) | func NewLinterFromAnalyzer(analyzer *analysis.Analyzer) *Linter { function allFlagNames (line 226) | func allFlagNames(fs *flag.FlagSet) []string { function valueToString (line 234) | func valueToString(v any) string { function DummyRun (line 251) | func DummyRun(_ *analysis.Pass) (any, error) { FILE: pkg/goanalysis/load/guard.go type Guard (line 9) | type Guard struct method AddMutexForPkg (line 20) | func (g *Guard) AddMutexForPkg(pkg *packages.Package) { method MutexForPkg (line 24) | func (g *Guard) MutexForPkg(pkg *packages.Package) *sync.Mutex { method Mutex (line 28) | func (g *Guard) Mutex() *sync.Mutex { function NewGuard (line 14) | func NewGuard() *Guard { FILE: pkg/goanalysis/metalinter.go type MetaLinter (line 13) | type MetaLinter struct method Run (line 24) | func (ml MetaLinter) Run(_ context.Context, lintCtx *linter.Context) (... method Name (line 34) | func (MetaLinter) Name() string { method Desc (line 38) | func (MetaLinter) Desc() string { method getLoadMode (line 42) | func (ml MetaLinter) getLoadMode() LoadMode { method getAnalyzers (line 52) | func (ml MetaLinter) getAnalyzers() []*analysis.Analyzer { method getName (line 60) | func (MetaLinter) getName() string { method useOriginalPackages (line 64) | func (MetaLinter) useOriginalPackages() bool { method reportIssues (line 68) | func (ml MetaLinter) reportIssues(lintCtx *linter.Context) []*Issue { method getLinterNameForDiagnostic (line 78) | func (ml MetaLinter) getLinterNameForDiagnostic(diag *Diagnostic) stri... method getAnalyzerToLinterNameMapping (line 82) | func (ml MetaLinter) getAnalyzerToLinterNameMapping() map[*analysis.An... function NewMetaLinter (line 18) | func NewMetaLinter(linters []*Linter) *MetaLinter { FILE: pkg/goanalysis/pkgerrors/errors.go type IllTypedError (line 13) | type IllTypedError struct method Error (line 17) | func (e *IllTypedError) Error() string { function BuildIssuesFromIllTypedError (line 21) | func BuildIssuesFromIllTypedError(errs []error, lintCtx *linter.Context)... FILE: pkg/goanalysis/pkgerrors/extract.go function extractErrors (line 16) | func extractErrors(pkg *packages.Package) []packages.Error { function extractErrorsImpl (line 85) | func extractErrorsImpl(pkg *packages.Package, seenPackages map[*packages... function stackCrusher (line 110) | func stackCrusher(msg string) string { FILE: pkg/goanalysis/pkgerrors/extract_test.go function Test_extractErrors (line 10) | func Test_extractErrors(t *testing.T) { function Test_stackCrusher (line 131) | func Test_stackCrusher(t *testing.T) { FILE: pkg/goanalysis/pkgerrors/parse.go function parseError (line 15) | func parseError(srcErr packages.Error) (*result.Issue, error) { function parseErrorPosition (line 28) | func parseErrorPosition(pos string) (*token.Position, error) { FILE: pkg/goanalysis/pkgerrors/parse_test.go function Test_parseError (line 11) | func Test_parseError(t *testing.T) { FILE: pkg/goanalysis/position.go function GetGoFilePosition (line 11) | func GetGoFilePosition(pass *analysis.Pass, f *ast.File) (token.Position... function GetFilePositionFor (line 21) | func GetFilePositionFor(fset *token.FileSet, p token.Pos) token.Position { function EndOfLinePos (line 33) | func EndOfLinePos(f *token.File, line int) token.Pos { function AdjustPos (line 48) | func AdjustPos(line, nonAdjLine, adjLine int) int { FILE: pkg/goanalysis/runner.go type Diagnostic (line 41) | type Diagnostic struct type runner (line 49) | type runner struct method run (line 80) | func (r *runner) run(analyzers []*analysis.Analyzer, initialPackages [... method markAllActions (line 97) | func (r *runner) markAllActions(a *analysis.Analyzer, pkg *packages.Pa... method makeAction (line 116) | func (r *runner) makeAction(a *analysis.Analyzer, pkg *packages.Package, method buildActionFactDeps (line 151) | func (r *runner) buildActionFactDeps(act *action, a *analysis.Analyzer... method prepareAnalysis (line 176) | func (r *runner) prepareAnalysis(pkgs []*packages.Package, method analyze (line 220) | func (r *runner) analyze(pkgs []*packages.Package, analyzers []*analys... function newRunner (line 60) | func newRunner(prefix string, logger logutils.Log, pkgCache *cache.Cache... type actKey (line 92) | type actKey struct function extractDiagnostics (line 284) | func extractDiagnostics(roots []*action) (retDiags []*Diagnostic, retErr... FILE: pkg/goanalysis/runner_action.go type actionAllocator (line 11) | type actionAllocator struct method alloc (line 23) | func (actAlloc *actionAllocator) alloc() *action { function newActionAllocator (line 16) | func newActionAllocator(maxCount int) *actionAllocator { method waitUntilDependingAnalyzersWorked (line 32) | func (act *action) waitUntilDependingAnalyzersWorked(ctx context.Context) { method analyzeSafe (line 44) | func (act *action) analyzeSafe() { method markDepsForAnalyzingSource (line 62) | func (act *action) markDepsForAnalyzingSource() { FILE: pkg/goanalysis/runner_action_cache.go type Fact (line 14) | type Fact struct method loadCachedFacts (line 19) | func (act *action) loadCachedFacts() bool { method persistFactsToCache (line 40) | func (act *action) persistFactsToCache() error { method loadPersistedFacts (line 82) | func (act *action) loadPersistedFacts() bool { function factCacheKey (line 124) | func factCacheKey(a *analysis.Analyzer) string { FILE: pkg/goanalysis/runner_action_test.go function Test_action_markDepsForAnalyzingSource (line 10) | func Test_action_markDepsForAnalyzingSource(t *testing.T) { FILE: pkg/goanalysis/runner_checker.go type action (line 31) | type action struct method String (line 67) | func (act *action) String() string { method analyze (line 72) | func (act *action) analyze() { method ObjectFact (line 346) | func (act *action) ObjectFact(obj types.Object, ptr analysis.Fact) bool { method exportObjectFact (line 360) | func (act *action) exportObjectFact(obj types.Object, fact analysis.Fa... method AllObjectFacts (line 385) | func (act *action) AllObjectFacts() []analysis.ObjectFact { method PackageFact (line 398) | func (act *action) PackageFact(pkg *types.Package, ptr analysis.Fact) ... method exportPackageFact (line 412) | func (act *action) exportPackageFact(fact analysis.Fact) { method factType (line 425) | func (act *action) factType(fact analysis.Fact) reflect.Type { method AllPackageFacts (line 438) | func (act *action) AllPackageFacts() []analysis.PackageFact { type objectFactKey (line 55) | type objectFactKey struct type packageFactKey (line 61) | type packageFactKey struct function inheritFacts (line 221) | func inheritFacts(act, dep *action) { function codeFact (line 285) | func codeFact(fact analysis.Fact) (analysis.Fact, error) { function exportedFrom (line 320) | func exportedFrom(obj types.Object, pkg *types.Package) bool { function analysisModuleFromPackagesModule (line 447) | func analysisModuleFromPackagesModule(mod *packages.Module) *analysis.Mo... FILE: pkg/goanalysis/runner_loadingpackage.go constant unsafePkgName (line 27) | unsafePkgName = "unsafe" constant tooNew (line 30) | tooNew = 151 type loadingPackage (line 32) | type loadingPackage struct method analyzeRecursive (line 44) | func (lp *loadingPackage) analyzeRecursive(ctx context.Context, cancel... method analyze (line 61) | func (lp *loadingPackage) analyze(ctx context.Context, cancel context.... method loadFromSource (line 119) | func (lp *loadingPackage) loadFromSource(loadMode LoadMode) error { method loadFromExportData (line 224) | func (lp *loadingPackage) loadFromExportData() error { method loadWithFacts (line 281) | func (lp *loadingPackage) loadWithFacts(loadMode LoadMode) error { method loadImportedPackageWithFacts (line 318) | func (lp *loadingPackage) loadImportedPackageWithFacts(loadMode LoadMo... method decUse (line 378) | func (lp *loadingPackage) decUse(canClearTypes bool) { method convertError (line 445) | func (lp *loadingPackage) convertError(err error) []packages.Error { method String (line 502) | func (lp *loadingPackage) String() string { type importerFunc (line 506) | type importerFunc method Import (line 508) | func (f importerFunc) Import(path string) (*types.Package, error) { re... function sizeOfValueTreeBytes (line 510) | func sizeOfValueTreeBytes(v any) int { function sizeOfReflectValueTreeBytes (line 514) | func sizeOfReflectValueTreeBytes(rv reflect.Value, visitedPtrs map[uintp... FILE: pkg/goanalysis/runners.go type runAnalyzersConfig (line 19) | type runAnalyzersConfig interface function runAnalyzers (line 28) | func runAnalyzers(cfg runAnalyzersConfig, lintCtx *linter.Context) ([]*r... function buildIssues (line 86) | func buildIssues(diags []*Diagnostic, linterNameBuilder func(diag *Diagn... FILE: pkg/goanalysis/runners_cache.go function saveIssuesToCache (line 19) | func saveIssuesToCache(allPkgs []*packages.Package, pkgsFromCache map[*p... function loadIssuesFromCache (line 78) | func loadIssuesFromCache(pkgs []*packages.Package, lintCtx *linter.Context, function getIssuesCacheKey (line 153) | func getIssuesCacheKey(analyzers []*analysis.Analyzer) string { function analyzersHashID (line 157) | func analyzersHashID(analyzers []*analysis.Analyzer) string { FILE: pkg/goformat/runner.go type Runner (line 25) | type Runner struct method Run (line 47) | func (c *Runner) Run(paths []string) error { method walk (line 81) | func (c *Runner) walk(root string, stdout *os.File) error { method process (line 114) | func (c *Runner) process(path string, stdout io.Writer, in io.Reader) ... method formatStdIn (line 165) | func (c *Runner) formatStdIn(path string, stdout io.Writer, in io.Read... method setOutputToDevNull (line 197) | func (c *Runner) setOutputToDevNull() { method ExitCode (line 207) | func (c *Runner) ExitCode() int { function NewRunner (line 36) | func NewRunner(logger logutils.Log, type RunnerOptions (line 211) | type RunnerOptions struct method MatchAnyPattern (line 258) | func (o RunnerOptions) MatchAnyPattern(path string) (bool, error) { function NewRunnerOptions (line 223) | func NewRunnerOptions(cfg *config.Config, diff, diffColored, stdin bool)... function skipDir (line 283) | func skipDir(name string) bool { function isGoFile (line 293) | func isGoFile(f fs.FileInfo) bool { FILE: pkg/goformat/runner_test.go function TestRunnerOptions_MatchAnyPattern (line 14) | func TestRunnerOptions_MatchAnyPattern(t *testing.T) { function TestRunnerOptions_MatchAnyPattern_withSymlinks (line 97) | func TestRunnerOptions_MatchAnyPattern_withSymlinks(t *testing.T) { FILE: pkg/goformatters/analyzer.go function NewAnalyzer (line 18) | func NewAnalyzer(logger logutils.Log, doc string, formatter Formatter) *... FILE: pkg/goformatters/formatters.go type Formatter (line 3) | type Formatter interface FILE: pkg/goformatters/gci/gci.go constant Name (line 17) | Name = "gci" type Formatter (line 19) | type Formatter struct method Name (line 58) | func (*Formatter) Name() string { method Format (line 62) | func (f *Formatter) Format(filename string, src []byte) ([]byte, error) { function New (line 23) | func New(settings *config.GciSettings) (*Formatter, error) { FILE: pkg/goformatters/gci/internal/config/config.go type Config (line 25) | type Config struct type YamlConfig (line 31) | type YamlConfig struct method Parse (line 41) | func (g YamlConfig) Parse() (*Config, error) { function ParseConfig (line 79) | func ParseConfig(in string) (*Config, error) { function configureSections (line 98) | func configureSections(sections section.SectionList, path string) error { FILE: pkg/goformatters/gci/internal/section/parser.go function Parse (line 11) | func Parse(data []string) (section.SectionList, error) { FILE: pkg/goformatters/gci/internal/section/section.go function DefaultSections (line 5) | func DefaultSections() section.SectionList { FILE: pkg/goformatters/gci/internal/section/standard.go constant StandardType (line 8) | StandardType = "standard" type Standard (line 10) | type Standard struct method MatchSpecificity (line 12) | func (s Standard) MatchSpecificity(spec *parse.GciImports) specificity... method String (line 19) | func (s Standard) String() string { method Type (line 23) | func (s Standard) Type() string { function isStandard (line 27) | func isStandard(pkg string) bool { FILE: pkg/goformatters/gofmt/gofmt.go constant Name (line 9) | Name = "gofmt" type Formatter (line 11) | type Formatter struct method Name (line 29) | func (*Formatter) Name() string { method Format (line 33) | func (f *Formatter) Format(filename string, src []byte) ([]byte, error) { function New (line 15) | func New(settings *config.GoFmtSettings) *Formatter { FILE: pkg/goformatters/gofumpt/gofumpt.go constant Name (line 11) | Name = "gofumpt" type Formatter (line 13) | type Formatter struct method Name (line 31) | func (*Formatter) Name() string { method Format (line 35) | func (f *Formatter) Format(_ string, src []byte) ([]byte, error) { function New (line 17) | func New(settings *config.GoFumptSettings, goVersion string) *Formatter { function getLangVersion (line 39) | func getLangVersion(v string) string { FILE: pkg/goformatters/goimports/goimports.go constant Name (line 11) | Name = "goimports" type Formatter (line 13) | type Formatter struct method Name (line 23) | func (*Formatter) Name() string { method Format (line 27) | func (*Formatter) Format(filename string, src []byte) ([]byte, error) { function New (line 15) | func New(settings *config.GoImportsSettings) *Formatter { FILE: pkg/goformatters/golines/golines.go constant Name (line 9) | Name = "golines" type Formatter (line 11) | type Formatter struct method Name (line 33) | func (*Formatter) Name() string { method Format (line 37) | func (f *Formatter) Format(_ string, src []byte) ([]byte, error) { function New (line 15) | func New(settings *config.GoLinesSettings) *Formatter { FILE: pkg/goformatters/internal/diff.go type Change (line 18) | type Change struct type diffLineType (line 23) | type diffLineType constant diffLineAdded (line 26) | diffLineAdded diffLineType = "added" constant diffLineOriginal (line 27) | diffLineOriginal diffLineType = "original" constant diffLineDeleted (line 28) | diffLineDeleted diffLineType = "deleted" type diffLine (line 31) | type diffLine struct type hunkChangesParser (line 37) | type hunkChangesParser struct method parse (line 49) | func (p *hunkChangesParser) parse(h *diffpkg.Hunk) []Change { method handleOriginalLine (line 87) | func (p *hunkChangesParser) handleOriginalLine(lines []diffLine, line ... method handleDeletedLines (line 116) | func (p *hunkChangesParser) handleDeletedLines(deletedLines []diffLine... method handleAddedOnlyLines (line 136) | func (p *hunkChangesParser) handleAddedOnlyLines(addedLines []string) { function parseDiffLines (line 162) | func parseDiffLines(h *diffpkg.Hunk) []diffLine { function ExtractDiagnosticFromPatch (line 213) | func ExtractDiagnosticFromPatch( function toDiagnostic (line 252) | func toDiagnostic(ft *token.File, change Change, adjLine int) analysis.D... FILE: pkg/goformatters/internal/diff_test.go function Test_parse (line 16) | func Test_parse(t *testing.T) { FILE: pkg/goformatters/meta_formatter.go type MetaFormatter (line 19) | type MetaFormatter struct method Format (line 67) | func (m *MetaFormatter) Format(filename string, src []byte) []byte { function NewMetaFormatter (line 24) | func NewMetaFormatter(log logutils.Log, cfg *config.Formatters, runCfg *... function IsFormatter (line 93) | func IsFormatter(name string) bool { FILE: pkg/goformatters/swaggo/swaggo.go constant Name (line 5) | Name = "swaggo" type Formatter (line 7) | type Formatter struct method Name (line 17) | func (*Formatter) Name() string { method Format (line 21) | func (f *Formatter) Format(path string, src []byte) ([]byte, error) { function New (line 11) | func New() *Formatter { FILE: pkg/golinters/arangolint/arangolint.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/arangolint/arangolint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/arangolint/testdata/arangolint.go function _ (line 10) | func _() { FILE: pkg/golinters/arangolint/testdata/arangolint_cgo.go function _ (line 21) | func _() { function _ (line 27) | func _() { FILE: pkg/golinters/asasalint/asasalint.go function New (line 11) | func New(settings *config.AsasalintSettings) *goanalysis.Linter { FILE: pkg/golinters/asasalint/asasalint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/asasalint/testdata/asasalint.go function getArgsLength (line 6) | func getArgsLength(args ...interface{}) int { function checkArgsLength (line 12) | func checkArgsLength(args ...interface{}) int { function someCall (line 16) | func someCall() { FILE: pkg/golinters/asasalint/testdata/asasalint_cgo.go function _ (line 19) | func _() { function getArgsLength (line 25) | func getArgsLength(args ...interface{}) int { function checkArgsLength (line 31) | func checkArgsLength(args ...interface{}) int { function someCall (line 35) | func someCall() { FILE: pkg/golinters/asciicheck/asciicheck.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/asciicheck/asciicheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/asciicheck/testdata/asciicheck.go type AsciicheckTеstStruct (line 9) | type AsciicheckTеstStruct struct type AsciicheckField (line 13) | type AsciicheckField struct type AsciicheckJustStruct (line 15) | type AsciicheckJustStruct struct function AsciicheckTеstFunc (line 19) | func AsciicheckTеstFunc() { // want `identifier "AsciicheckTеstFunc" con... FILE: pkg/golinters/asciicheck/testdata/asciicheck_cgo.go function _ (line 20) | func _() { type AsciicheckTеstStruct (line 26) | type AsciicheckTеstStruct struct type AsciicheckField (line 30) | type AsciicheckField struct type AsciicheckJustStruct (line 32) | type AsciicheckJustStruct struct function AsciicheckTеstFunc (line 36) | func AsciicheckTеstFunc() { // want `identifier "AsciicheckTеstFunc" con... FILE: pkg/golinters/bidichk/bidichk.go function New (line 12) | func New(settings *config.BiDiChkSettings) *goanalysis.Linter { FILE: pkg/golinters/bidichk/bidichk_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/bidichk/testdata/bidichk.go function main (line 6) | func main() { FILE: pkg/golinters/bidichk/testdata/bidichk_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { FILE: pkg/golinters/bodyclose/bodyclose.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/bodyclose/bodyclose_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/bodyclose/testdata/bodyclose.go function BodycloseNotClosed (line 9) | func BodycloseNotClosed() { FILE: pkg/golinters/bodyclose/testdata/bodyclose_cgo.go function _ (line 20) | func _() { function BodycloseNotClosed (line 26) | func BodycloseNotClosed() { FILE: pkg/golinters/canonicalheader/canonicalheader.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/canonicalheader/canonicalheader_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/canonicalheader/testdata/canonicalheader.go function canonicalheader (line 6) | func canonicalheader() { FILE: pkg/golinters/canonicalheader/testdata/canonicalheader_cgo.go function _ (line 19) | func _() { function canonicalheader (line 25) | func canonicalheader() { FILE: pkg/golinters/canonicalheader/testdata/fix/in/canonicalheader.go function canonicalheader (line 7) | func canonicalheader() { FILE: pkg/golinters/canonicalheader/testdata/fix/out/canonicalheader.go function canonicalheader (line 7) | func canonicalheader() { FILE: pkg/golinters/containedctx/containedctx.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/containedctx/containedctx_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/containedctx/testdata/containedctx.go type ok (line 6) | type ok struct type ng (line 11) | type ng struct type empty (line 15) | type empty struct FILE: pkg/golinters/containedctx/testdata/containedctx_cgo.go function _ (line 19) | func _() { type ok (line 25) | type ok struct type ng (line 30) | type ng struct type empty (line 34) | type empty struct FILE: pkg/golinters/contextcheck/contextcheck.go function New (line 12) | func New() *goanalysis.Linter { FILE: pkg/golinters/contextcheck/contextcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/contextcheck/testdata/contextcheck.go type MyString (line 6) | type MyString function contextcheckCase1 (line 8) | func contextcheckCase1(ctx context.Context) { function contextcheckCase2 (line 12) | func contextcheckCase2(ctx context.Context) { function contextcheckCase3 (line 27) | func contextcheckCase3(ctx context.Context) { function contextcheckCase4 (line 36) | func contextcheckCase4(ctx context.Context) { function funcWithCtx (line 42) | func funcWithCtx(ctx context.Context) {} function funcWithoutCtx (line 44) | func funcWithoutCtx() { function getNewCtx (line 48) | func getNewCtx(ctx context.Context) (newCtx context.Context, cancel cont... FILE: pkg/golinters/contextcheck/testdata/contextcheck_cgo.go function _ (line 19) | func _() { function contextcheckCase1 (line 25) | func contextcheckCase1(ctx context.Context) { function funcWithCtx (line 29) | func funcWithCtx(ctx context.Context) {} function funcWithoutCtx (line 31) | func funcWithoutCtx() { FILE: pkg/golinters/copyloopvar/copyloopvar.go function New (line 10) | func New(settings *config.CopyLoopVarSettings) *goanalysis.Linter { FILE: pkg/golinters/copyloopvar/copyloopvar_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/copyloopvar/testdata/copyloopvar.go function copyloopvarCase1 (line 8) | func copyloopvarCase1() { function copyloopvarCase2 (line 28) | func copyloopvarCase2() { FILE: pkg/golinters/copyloopvar/testdata/copyloopvar_cgo.go function _ (line 21) | func _() { function copyloopvarCase2 (line 27) | func copyloopvarCase2() { FILE: pkg/golinters/copyloopvar/testdata/copyloopvar_custom.go function copyloopvarCase1 (line 9) | func copyloopvarCase1() { function copyloopvarCase2 (line 29) | func copyloopvarCase2() { FILE: pkg/golinters/copyloopvar/testdata/fix/in/copyloopvar.go function _ (line 7) | func _() { function _ (line 27) | func _() { FILE: pkg/golinters/copyloopvar/testdata/fix/out/copyloopvar.go function _ (line 7) | func _() { function _ (line 27) | func _() { FILE: pkg/golinters/cyclop/cyclop.go function New (line 10) | func New(settings *config.CyclopSettings) *goanalysis.Linter { FILE: pkg/golinters/cyclop/cyclop_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/cyclop/testdata/cyclop.go function cyclopComplexFunc (line 5) | func cyclopComplexFunc(s string) { // want "calculated cyclomatic comple... FILE: pkg/golinters/cyclop/testdata/cyclop_cgo.go function _ (line 19) | func _() { function cyclopComplexFunc (line 25) | func cyclopComplexFunc(s string) { // want "calculated cyclomatic comple... FILE: pkg/golinters/decorder/decorder.go function New (line 12) | func New(settings *config.DecorderSettings) *goanalysis.Linter { FILE: pkg/golinters/decorder/decorder_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/decorder/testdata/decorder.go constant decoh (line 8) | decoh = math.MaxInt64 constant decoi (line 9) | decoi = 1 type decol (line 15) | type decol function decom (line 17) | func decom() { function init (line 21) | func init() {} FILE: pkg/golinters/decorder/testdata/decorder_cgo.go constant decoc (line 21) | decoc = math.MaxInt64 constant decod (line 22) | decod = 1 type decoe (line 28) | type decoe function decof (line 30) | func decof() { function init (line 34) | func init() {} function _ (line 36) | func _() { FILE: pkg/golinters/decorder/testdata/decorder_custom.go constant decoc (line 8) | decoc = math.MaxInt64 constant decod (line 9) | decod = 1 type decoe (line 15) | type decoe function decof (line 17) | func decof() { function init (line 21) | func init() {} FILE: pkg/golinters/depguard/depguard.go function New (line 13) | func New(settings *config.DepGuardSettings, replacer *strings.Replacer) ... FILE: pkg/golinters/depguard/depguard_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/depguard/testdata/depguard.go function SpewDebugInfo (line 12) | func SpewDebugInfo() { FILE: pkg/golinters/depguard/testdata/depguard_additional_guards.go function SpewDebugInfo (line 14) | func SpewDebugInfo() { FILE: pkg/golinters/depguard/testdata/depguard_cgo.go function _ (line 23) | func _() { function SpewDebugInfo (line 29) | func SpewDebugInfo() { FILE: pkg/golinters/depguard/testdata/depguard_ignore_file_rules.go function SpewDebugInfo (line 14) | func SpewDebugInfo() { FILE: pkg/golinters/dogsled/dogsled.go function New (line 14) | func New(settings *config.DogsledSettings) *goanalysis.Linter { function run (line 27) | func run(pass *analysis.Pass, maxBlanks int) (any, error) { FILE: pkg/golinters/dogsled/dogsled_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/dogsled/testdata/dogsled.go function Dogsled (line 4) | func Dogsled() { function ret1 (line 11) | func ret1() (a int) { function ret2 (line 15) | func ret2() (a, b int) { function ret3 (line 19) | func ret3() (a, b, c int) { function ret4 (line 23) | func ret4() (a, b, c, d int) { FILE: pkg/golinters/dogsled/testdata/dogsled_cgo.go function _ (line 18) | func _() { function _ (line 24) | func _() { function ret1 (line 31) | func ret1() (a int) { function ret2 (line 35) | func ret2() (a, b int) { function ret3 (line 39) | func ret3() (a, b, c int) { function ret4 (line 43) | func ret4() (a, b, c, d int) { FILE: pkg/golinters/dupl/dupl.go constant linterName (line 19) | linterName = "dupl" function New (line 21) | func New(settings *config.DuplSettings) *goanalysis.Linter { function runDupl (line 52) | func runDupl(pass *analysis.Pass, settings *config.DuplSettings) ([]*goa... FILE: pkg/golinters/dupl/dupl_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/dupl/testdata/dupl.go type DuplLogger (line 5) | type DuplLogger struct method level (line 7) | func (DuplLogger) level() int { method Debug (line 11) | func (DuplLogger) Debug(args ...interface{}) {} method Info (line 12) | func (DuplLogger) Info(args ...interface{}) {} method First (line 14) | func (logger *DuplLogger) First(args ...interface{}) { // want "14-23 ... method Second (line 25) | func (logger *DuplLogger) Second(args ...interface{}) { // want "25-34... FILE: pkg/golinters/dupl/testdata/dupl_cgo.go function _ (line 19) | func _() { type DuplLogger (line 25) | type DuplLogger struct method level (line 27) | func (DuplLogger) level() int { method Debug (line 31) | func (DuplLogger) Debug(args ...interface{}) {} method Info (line 32) | func (DuplLogger) Info(args ...interface{}) {} method First (line 34) | func (logger *DuplLogger) First(args ...interface{}) { // want "34-43 ... method Second (line 45) | func (logger *DuplLogger) Second(args ...interface{}) { // want "45-54... FILE: pkg/golinters/dupword/dupword.go function New (line 12) | func New(settings *config.DupWordSettings) *goanalysis.Linter { FILE: pkg/golinters/dupword/dupword_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/dupword/testdata/dupword.go function duplicateWordInComments (line 6) | func duplicateWordInComments() { function duplicateWordInStr (line 11) | func duplicateWordInStr() { FILE: pkg/golinters/dupword/testdata/dupword_cgo.go function _ (line 19) | func _() { function duplicateWordInComments (line 25) | func duplicateWordInComments() { FILE: pkg/golinters/dupword/testdata/dupword_comments_only.go function _ (line 7) | func _() { FILE: pkg/golinters/dupword/testdata/dupword_ignore.go function duplicateWordInComments (line 7) | func duplicateWordInComments() { function duplicateWordInStr (line 12) | func duplicateWordInStr() { FILE: pkg/golinters/dupword/testdata/fix/in/dupword.go function duplicateWordInComments (line 7) | func duplicateWordInComments() { function duplicateWordInStr (line 12) | func duplicateWordInStr() { FILE: pkg/golinters/dupword/testdata/fix/out/dupword.go function duplicateWordInComments (line 7) | func duplicateWordInComments() { function duplicateWordInStr (line 12) | func duplicateWordInStr() { FILE: pkg/golinters/durationcheck/durationcheck.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/durationcheck/durationcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/durationcheck/testdata/durationcheck.go type durationCheckData (line 9) | type durationCheckData struct function durationcheckCase01 (line 14) | func durationcheckCase01() { function durationcheckCase02 (line 19) | func durationcheckCase02() { function durationcheckCase03 (line 24) | func durationcheckCase03() { function durationcheckCase04 (line 29) | func durationcheckCase04(someDuration time.Duration) { function durationcheckCase05 (line 34) | func durationcheckCase05() { FILE: pkg/golinters/durationcheck/testdata/durationcheck_cgo.go function _ (line 19) | func _() { type durationCheckData (line 25) | type durationCheckData struct function durationcheckCase01 (line 30) | func durationcheckCase01() { function durationcheckCase02 (line 35) | func durationcheckCase02() { FILE: pkg/golinters/embeddedstructfieldcheck/embeddedstructfieldcheck.go function New (line 10) | func New(settings *config.EmbeddedStructFieldCheckSettings) *goanalysis.... FILE: pkg/golinters/embeddedstructfieldcheck/embeddedstructfieldcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/embeddedstructfieldcheck/testdata/embeddedstructfieldcheck_comments.go type ValidStructWithSingleLineComments (line 6) | type ValidStructWithSingleLineComments struct type StructWithSingleLineComments (line 14) | type StructWithSingleLineComments struct type StructWithMultiLineComments (line 21) | type StructWithMultiLineComments struct FILE: pkg/golinters/embeddedstructfieldcheck/testdata/embeddedstructfieldcheck_mutex.go type MutextEmbedded (line 7) | type MutextEmbedded struct type MutextNotEmbedded (line 11) | type MutextNotEmbedded struct type PointerMutextEmbedded (line 15) | type PointerMutextEmbedded struct type RWMutextEmbedded (line 19) | type RWMutextEmbedded struct type RWMutextNotEmbedded (line 23) | type RWMutextNotEmbedded struct type PointerRWMutextEmbedded (line 27) | type PointerRWMutextEmbedded struct FILE: pkg/golinters/embeddedstructfieldcheck/testdata/embeddedstructfieldcheck_simple.go type ValidStruct (line 9) | type ValidStruct struct type NoSpaceStruct (line 15) | type NoSpaceStruct struct type NotSortedStruct (line 20) | type NotSortedStruct struct type MixedEmbeddedAndNotEmbedded (line 26) | type MixedEmbeddedAndNotEmbedded struct type EmbeddedWithPointers (line 36) | type EmbeddedWithPointers struct FILE: pkg/golinters/embeddedstructfieldcheck/testdata/embeddedstructfieldcheck_special_cases.go function myFunction (line 6) | func myFunction() { FILE: pkg/golinters/embeddedstructfieldcheck/testdata/fix/in/comments.go type ValidStructWithSingleLineComments (line 7) | type ValidStructWithSingleLineComments struct type StructWithSingleLineComments (line 15) | type StructWithSingleLineComments struct type StructWithMultiLineComments (line 23) | type StructWithMultiLineComments struct type A (line 32) | type A struct FILE: pkg/golinters/embeddedstructfieldcheck/testdata/fix/in/simple.go type ValidStruct (line 9) | type ValidStruct struct type NoSpaceStruct (line 15) | type NoSpaceStruct struct type EmbeddedWithPointers (line 20) | type EmbeddedWithPointers struct FILE: pkg/golinters/embeddedstructfieldcheck/testdata/fix/out/comments.go type ValidStructWithSingleLineComments (line 7) | type ValidStructWithSingleLineComments struct type StructWithSingleLineComments (line 15) | type StructWithSingleLineComments struct type StructWithMultiLineComments (line 23) | type StructWithMultiLineComments struct type A (line 32) | type A struct FILE: pkg/golinters/embeddedstructfieldcheck/testdata/fix/out/simple.go type ValidStruct (line 9) | type ValidStruct struct type NoSpaceStruct (line 15) | type NoSpaceStruct struct type EmbeddedWithPointers (line 21) | type EmbeddedWithPointers struct FILE: pkg/golinters/err113/err113.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/err113/err113_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/err113/testdata/err113.go function SimpleEqual (line 6) | func SimpleEqual(e1, e2 error) bool { function SimpleNotEqual (line 10) | func SimpleNotEqual(e1, e2 error) bool { function CheckGoerr13Import (line 14) | func CheckGoerr13Import(e error) bool { FILE: pkg/golinters/err113/testdata/err113_cgo.go function _ (line 19) | func _() { function CheckGoerr13Import (line 25) | func CheckGoerr13Import(e error) bool { FILE: pkg/golinters/err113/testdata/fix/in/err113.go function SimpleEqual (line 7) | func SimpleEqual(e1, e2 error) bool { function SimpleNotEqual (line 11) | func SimpleNotEqual(e1, e2 error) bool { function CheckGoerr13Import (line 15) | func CheckGoerr13Import(e error) bool { FILE: pkg/golinters/err113/testdata/fix/out/err113.go function SimpleEqual (line 7) | func SimpleEqual(e1, e2 error) bool { function SimpleNotEqual (line 11) | func SimpleNotEqual(e1, e2 error) bool { function CheckGoerr13Import (line 15) | func CheckGoerr13Import(e error) bool { FILE: pkg/golinters/errcheck/errcheck.go constant linterName (line 20) | linterName = "errcheck" function New (line 22) | func New(settings *config.ErrcheckSettings) *goanalysis.Linter { function runErrCheck (line 59) | func runErrCheck(pass *analysis.Pass, checker *errcheck.Checker, verbose... function getChecker (line 99) | func getChecker(errCfg *config.ErrcheckSettings) *errcheck.Checker { FILE: pkg/golinters/errcheck/errcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/errcheck/testdata/errcheck.go function RetErr (line 10) | func RetErr() error { function MissedErrorCheck (line 14) | func MissedErrorCheck() { function IgnoreCloseMissingErrHandling (line 18) | func IgnoreCloseMissingErrHandling() error { function IgnoreCloseInDeferMissingErrHandling (line 28) | func IgnoreCloseInDeferMissingErrHandling() { function IgnoreStdxWrite (line 38) | func IgnoreStdxWrite() { function IgnoreBufferWrites (line 43) | func IgnoreBufferWrites(buf *bytes.Buffer) { FILE: pkg/golinters/errcheck/testdata/errcheck_cgo.go function _ (line 18) | func _() { function RetErr (line 24) | func RetErr() error { function MissedErrorCheck (line 28) | func MissedErrorCheck() { FILE: pkg/golinters/errcheck/testdata/errcheck_exclude_functions.go function TestErrcheckExcludeFunctions (line 9) | func TestErrcheckExcludeFunctions() []byte { function TestErrcheckNoExcludeFunctions (line 15) | func TestErrcheckNoExcludeFunctions() []byte { FILE: pkg/golinters/errcheck/testdata/errcheck_ignore_default.go function TestErrcheckIgnoreHashWriteByDefault (line 11) | func TestErrcheckIgnoreHashWriteByDefault() []byte { function TestErrcheckIgnoreFmtByDefault (line 17) | func TestErrcheckIgnoreFmtByDefault(s string) int { function TestErrcheckNoIgnoreOs (line 22) | func TestErrcheckNoIgnoreOs() { FILE: pkg/golinters/errcheck/testdata/errcheck_type_assertions.go function ErrorTypeAssertion (line 6) | func ErrorTypeAssertion(filter map[string]interface{}) bool { FILE: pkg/golinters/errchkjson/errchkjson.go function New (line 10) | func New(settings *config.ErrChkJSONSettings) *goanalysis.Linter { FILE: pkg/golinters/errchkjson/errchkjson_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/errchkjson/testdata/errchkjson.go type marshalText (line 13) | type marshalText struct method MarshalText (line 15) | func (mt marshalText) MarshalText() ([]byte, error) { function JSONMarshalSafeTypesWithNoSafe (line 23) | func JSONMarshalSafeTypesWithNoSafe() { type structKey (line 255) | type structKey struct type ExportedUnsafeAndInvalidStruct (line 256) | type ExportedUnsafeAndInvalidStruct struct function JSONMarshalSaveStructWithUnexportedFieldsWithNoSafe (line 286) | func JSONMarshalSaveStructWithUnexportedFieldsWithNoSafe() { function JSONMarshalSaveStructWithOmittedFieldsWithNoSafe (line 351) | func JSONMarshalSaveStructWithOmittedFieldsWithNoSafe() { function JSONMarshalUnsafeTypes (line 392) | func JSONMarshalUnsafeTypes() { function JSONMarshalInvalidTypes (line 516) | func JSONMarshalInvalidTypes() { function NotJSONMarshal (line 611) | func NotJSONMarshal() { function JSONMarshalStructWithoutExportedFields (line 619) | func JSONMarshalStructWithoutExportedFields() { function JSONMarshalStructWithNestedStructWithoutExportedFields (line 631) | func JSONMarshalStructWithNestedStructWithoutExportedFields() { FILE: pkg/golinters/errchkjson/testdata/errchkjson_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _() { FILE: pkg/golinters/errchkjson/testdata/errchkjson_check_error_free_encoding.go type marshalText (line 13) | type marshalText struct method MarshalText (line 15) | func (mt marshalText) MarshalText() ([]byte, error) { function JSONMarshalSafeTypes (line 23) | func JSONMarshalSafeTypes() { type structKey (line 255) | type structKey struct type ExportedUnsafeAndInvalidStruct (line 256) | type ExportedUnsafeAndInvalidStruct struct function JSONMarshalSaveStructWithUnexportedFields (line 286) | func JSONMarshalSaveStructWithUnexportedFields() { function JSONMarshalSaveStructWithOmittedFields (line 351) | func JSONMarshalSaveStructWithOmittedFields() { function JSONMarshalUnsafeTypes (line 392) | func JSONMarshalUnsafeTypes() { function JSONMarshalInvalidTypes (line 516) | func JSONMarshalInvalidTypes() { function NotJSONMarshal (line 611) | func NotJSONMarshal() { FILE: pkg/golinters/errchkjson/testdata/errchkjson_no_exported.go function JSONMarshalStructWithoutExportedFields (line 10) | func JSONMarshalStructWithoutExportedFields() { function JSONMarshalStructWithNestedStructWithoutExportedFields (line 20) | func JSONMarshalStructWithNestedStructWithoutExportedFields() { FILE: pkg/golinters/errname/errname.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/errname/errname_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/errname/testdata/errname.go constant maxSize (line 21) | maxSize = 256 function errInsideFuncIsNotSentinel (line 31) | func errInsideFuncIsNotSentinel() error { type NotErrorType (line 36) | type NotErrorType struct method Set (line 38) | func (t NotErrorType) Set() {} method Get (line 39) | func (t NotErrorType) Get() {} type DNSConfigError (line 41) | type DNSConfigError struct method Error (line 43) | func (D DNSConfigError) Error() string { return "DNS config error" } type someTypeWithoutPtr (line 45) | type someTypeWithoutPtr struct method Error (line 46) | func (s someTypeWithoutPtr) Error() string { return "someTypeWithoutPt... type SomeTypeWithoutPtr (line 48) | type SomeTypeWithoutPtr struct method Error (line 49) | func (s SomeTypeWithoutPtr) Error() string { return "SomeTypeWithoutPt... type someTypeWithPtr (line 51) | type someTypeWithPtr struct method Error (line 52) | func (s *someTypeWithPtr) Error() string { return "someTypeWithPtr" } type SomeTypeWithPtr (line 54) | type SomeTypeWithPtr struct method Error (line 55) | func (s *SomeTypeWithPtr) Error() string { return "SomeTypeWithPtr" } FILE: pkg/golinters/errname/testdata/errname_cgo.go function _ (line 19) | func _() { FILE: pkg/golinters/errorlint/errorlint.go function New (line 10) | func New(settings *config.ErrorLintSettings) *goanalysis.Linter { function toAllowPairs (line 43) | func toAllowPairs(data []config.ErrorLintAllowPair) []errorlint.AllowPair { FILE: pkg/golinters/errorlint/errorlint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/errorlint/testdata/errorlint.go type errLintBar (line 12) | type errLintBar struct method Error (line 14) | func (*errLintBar) Error() string { function errorLintAll (line 18) | func errorLintAll() { FILE: pkg/golinters/errorlint/testdata/errorlint_asserts.go type myError (line 10) | type myError struct method Error (line 12) | func (*myError) Error() string { function errorLintDoAnotherThing (line 16) | func errorLintDoAnotherThing() error { function errorLintAsserts (line 20) | func errorLintAsserts() { FILE: pkg/golinters/errorlint/testdata/errorlint_cgo.go function _ (line 21) | func _() { type errLintBar (line 29) | type errLintBar struct method Error (line 31) | func (*errLintBar) Error() string { function errorLintAll (line 35) | func errorLintAll() { FILE: pkg/golinters/errorlint/testdata/errorlint_comparison.go function errorLintDoThing (line 12) | func errorLintDoThing() error { function errorLintComparison (line 16) | func errorLintComparison() { FILE: pkg/golinters/errorlint/testdata/errorlint_errorf.go type customError (line 10) | type customError struct method Error (line 12) | func (customError) Error() string { function errorLintErrorf (line 16) | func errorLintErrorf() { FILE: pkg/golinters/errorlint/testdata/fix/in/errorlint.go function Good (line 10) | func Good() error { function NonWrappingVerb (line 15) | func NonWrappingVerb() error { function NonWrappingTVerb (line 20) | func NonWrappingTVerb() error { function DoubleNonWrappingVerb (line 25) | func DoubleNonWrappingVerb() error { function ErrorOneWrap (line 30) | func ErrorOneWrap() error { function ValidNonWrappingTVerb (line 37) | func ValidNonWrappingTVerb() error { function ErrorMultipleWraps (line 44) | func ErrorMultipleWraps() error { function ErrorMultipleWrapsWithCustomError (line 51) | func ErrorMultipleWrapsWithCustomError() error { function ErrorStringFormat (line 58) | func ErrorStringFormat() error { function ErrorStringFormatCustomError (line 63) | func ErrorStringFormatCustomError() error { function NotAnError (line 68) | func NotAnError() error { type MyError (line 73) | type MyError struct method Error (line 75) | func (MyError) Error() string { function ErrorIndexReset (line 79) | func ErrorIndexReset() error { function ErrorIndexResetGood (line 84) | func ErrorIndexResetGood() error { FILE: pkg/golinters/errorlint/testdata/fix/out/errorlint.go function Good (line 10) | func Good() error { function NonWrappingVerb (line 15) | func NonWrappingVerb() error { function NonWrappingTVerb (line 20) | func NonWrappingTVerb() error { function DoubleNonWrappingVerb (line 25) | func DoubleNonWrappingVerb() error { function ErrorOneWrap (line 30) | func ErrorOneWrap() error { function ValidNonWrappingTVerb (line 37) | func ValidNonWrappingTVerb() error { function ErrorMultipleWraps (line 44) | func ErrorMultipleWraps() error { function ErrorMultipleWrapsWithCustomError (line 51) | func ErrorMultipleWrapsWithCustomError() error { function ErrorStringFormat (line 58) | func ErrorStringFormat() error { function ErrorStringFormatCustomError (line 63) | func ErrorStringFormatCustomError() error { function NotAnError (line 68) | func NotAnError() error { type MyError (line 73) | type MyError struct method Error (line 75) | func (MyError) Error() string { function ErrorIndexReset (line 79) | func ErrorIndexReset() error { function ErrorIndexResetGood (line 84) | func ErrorIndexResetGood() error { FILE: pkg/golinters/exhaustive/exhaustive.go function New (line 10) | func New(settings *config.ExhaustiveSettings) *goanalysis.Linter { FILE: pkg/golinters/exhaustive/exhaustive_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/exhaustive/testdata/exhaustive.go type Direction (line 4) | type Direction constant North (line 7) | North Direction = iota constant East (line 8) | East constant South (line 9) | South constant West (line 10) | West function processDirection (line 13) | func processDirection(d Direction) { FILE: pkg/golinters/exhaustive/testdata/exhaustive_cgo.go function _ (line 22) | func _() { type Direction (line 28) | type Direction constant North (line 31) | North Direction = iota constant East (line 32) | East constant South (line 33) | South constant West (line 34) | West function processDirection (line 37) | func processDirection(d Direction) { FILE: pkg/golinters/exhaustive/testdata/exhaustive_default.go type Direction (line 6) | type Direction constant North (line 9) | North Direction = iota constant East (line 10) | East constant South (line 11) | South constant West (line 12) | West function processDirectionDefault (line 19) | func processDirectionDefault(d Direction) { FILE: pkg/golinters/exhaustive/testdata/exhaustive_generated.go type Direction (line 11) | type Direction constant North (line 14) | North Direction = iota constant East (line 15) | East constant South (line 16) | South constant West (line 17) | West function processDirectionGenerated (line 20) | func processDirectionGenerated(d Direction) { FILE: pkg/golinters/exhaustive/testdata/exhaustive_ignore_enum_members.go type Direction (line 5) | type Direction constant North (line 8) | North Direction = iota constant East (line 9) | East constant South (line 10) | South constant West (line 11) | West function processDirectionIgnoreEnumMembers (line 17) | func processDirectionIgnoreEnumMembers(d Direction) { FILE: pkg/golinters/exhaustruct/exhaustruct.go function New (line 11) | func New(settings *config.ExhaustructSettings) *goanalysis.Linter { FILE: pkg/golinters/exhaustruct/exhaustruct_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/exhaustruct/testdata/exhaustruct.go type Exhaustruct (line 6) | type Exhaustruct struct function exhaustruct (line 14) | func exhaustruct() { FILE: pkg/golinters/exhaustruct/testdata/exhaustruct_cgo.go function _ (line 19) | func _() { type Exhaustruct (line 25) | type Exhaustruct struct function exhaustruct (line 33) | func exhaustruct() { FILE: pkg/golinters/exhaustruct/testdata/exhaustruct_custom.go type ExhaustructCustom (line 7) | type ExhaustructCustom struct function exhaustructCustom (line 15) | func exhaustructCustom() { type ExhaustructCustom1 (line 50) | type ExhaustructCustom1 struct function exhaustructCustom1 (line 58) | func exhaustructCustom1() { type ExhaustructCustom2 (line 93) | type ExhaustructCustom2 struct function exhaustructCustom2 (line 101) | func exhaustructCustom2() { FILE: pkg/golinters/exptostd/exptostd.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/exptostd/exptostd_integration_test.go function TestFromTestdata (line 13) | func TestFromTestdata(t *testing.T) { function TestFix (line 17) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 21) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/exptostd/testdata/exptostd.go function _ (line 11) | func _(m, a map[string]string) { function _ (line 35) | func _(a, b []string) { FILE: pkg/golinters/exptostd/testdata/exptostd_cgo.go function _ (line 22) | func _() { function _ (line 28) | func _(m, a map[string]string) { function _ (line 52) | func _(a, b []string) { FILE: pkg/golinters/exptostd/testdata/fix/in/exptostd.go function _ (line 11) | func _(m, a map[string]string) { function _ (line 31) | func _(a, b []string) { FILE: pkg/golinters/exptostd/testdata/fix/out/exptostd.go function _ (line 11) | func _(m, a map[string]string) { function _ (line 31) | func _(a, b []string) { FILE: pkg/golinters/fatcontext/fatcontext.go function New (line 10) | func New(settings *config.FatcontextSettings) *goanalysis.Linter { FILE: pkg/golinters/fatcontext/fatcontext_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/fatcontext/testdata/fatcontext.go function example (line 6) | func example() { function wrapContext (line 31) | func wrapContext(ctx context.Context) context.Context { function inStructs (line 36) | func inStructs(ctx context.Context) { FILE: pkg/golinters/fatcontext/testdata/fatcontext_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { function wrapContext (line 50) | func wrapContext(ctx context.Context) context.Context { FILE: pkg/golinters/fatcontext/testdata/fatcontext_structpointer.go type Container (line 9) | type Container struct function something (line 13) | func something() func(*Container) { function blah (line 21) | func blah(r *Container) { FILE: pkg/golinters/fatcontext/testdata/fix/in/fatcontext.go function example (line 7) | func example() { function wrapContext (line 32) | func wrapContext(ctx context.Context) context.Context { function inStructs (line 37) | func inStructs(ctx context.Context) { FILE: pkg/golinters/fatcontext/testdata/fix/out/fatcontext.go function example (line 7) | func example() { function wrapContext (line 32) | func wrapContext(ctx context.Context) context.Context { function inStructs (line 37) | func inStructs(ctx context.Context) { FILE: pkg/golinters/forbidigo/forbidigo.go constant linterName (line 15) | linterName = "forbidigo" function New (line 17) | func New(settings *config.ForbidigoSettings) *goanalysis.Linter { function runForbidigo (line 37) | func runForbidigo(pass *analysis.Pass, settings *config.ForbidigoSetting... FILE: pkg/golinters/forbidigo/forbidigo_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/forbidigo/testdata/forbidigo_cgo.go function _ (line 22) | func _() { function Forbidigo (line 28) | func Forbidigo() { FILE: pkg/golinters/forbidigo/testdata/forbidigo_example.go function Forbidigo (line 11) | func Forbidigo() { FILE: pkg/golinters/forbidigo/testdata/forbidigo_example_test.go function ExampleForbidigo (line 8) | func ExampleForbidigo() { FILE: pkg/golinters/forbidigo/testdata/forbidigo_include_godoc_examples_test.go function ExampleForbidigoNoGodoc (line 7) | func ExampleForbidigoNoGodoc() { FILE: pkg/golinters/forbidigo/testdata/forbidigo_struct_config.go function Forbidigo (line 10) | func Forbidigo() { FILE: pkg/golinters/forcetypeassert/forcetypeassert.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/forcetypeassert/forcetypeassert_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/forcetypeassert/testdata/forcetypeassert.go function forcetypeassertInvalid (line 6) | func forcetypeassertInvalid() { function forcetypeassertValid (line 15) | func forcetypeassertValid() { FILE: pkg/golinters/forcetypeassert/testdata/forcetypeassert_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { function _ (line 34) | func _() { FILE: pkg/golinters/funcorder/funcorder.go function New (line 10) | func New(settings *config.FuncOrderSettings) *goanalysis.Linter { FILE: pkg/golinters/funcorder/funcorder_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/funcorder/testdata/funcorder.go type MyStruct (line 6) | type MyStruct struct method lenName (line 10) | func (m MyStruct) lenName() int { // want `unexported method "lenName"... method GetName (line 14) | func (m MyStruct) GetName() string { method SetName (line 18) | func (m *MyStruct) SetName(name string) { type MyStruct2 (line 22) | type MyStruct2 struct method GetName (line 26) | func (m MyStruct2) GetName() string { method SetName (line 30) | func (m *MyStruct2) SetName(name string) { function NewMyStruct2 (line 34) | func NewMyStruct2() *MyStruct2 { // want `constructor "NewMyStruct2" for... function NewTime (line 38) | func NewTime() time.Time { FILE: pkg/golinters/funcorder/testdata/funcorder_disable_constructor.go type MyStruct (line 7) | type MyStruct struct method lenName (line 11) | func (m MyStruct) lenName() int { // want `unexported method "lenName"... method GetName (line 15) | func (m MyStruct) GetName() string { method SetName (line 19) | func (m *MyStruct) SetName(name string) { type MyStruct2 (line 23) | type MyStruct2 struct method GetName (line 27) | func (m MyStruct2) GetName() string { method SetName (line 31) | func (m *MyStruct2) SetName(name string) { function NewMyStruct2 (line 35) | func NewMyStruct2() *MyStruct2 { function NewTime (line 39) | func NewTime() time.Time { FILE: pkg/golinters/funcorder/testdata/funcorder_struct_method.go type MyStruct (line 7) | type MyStruct struct method lenName (line 11) | func (m MyStruct) lenName() int { method GetName (line 15) | func (m MyStruct) GetName() string { method SetName (line 19) | func (m *MyStruct) SetName(name string) { type MyStruct2 (line 23) | type MyStruct2 struct method GetName (line 27) | func (m MyStruct2) GetName() string { method SetName (line 31) | func (m *MyStruct2) SetName(name string) { function NewMyStruct2 (line 35) | func NewMyStruct2() *MyStruct2 { // want `constructor "NewMyStruct2" for... function NewTime (line 39) | func NewTime() time.Time { FILE: pkg/golinters/funlen/funlen.go type Config (line 10) | type Config struct function New (line 16) | func New(settings *config.FunlenSettings) *goanalysis.Linter { FILE: pkg/golinters/funlen/funlen_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/funlen/testdata/funlen.go function TooManyLines (line 4) | func TooManyLines() { // want `Function 'TooManyLines' is too long \(70 ... function TooManyStatements (line 77) | func TooManyStatements() { // want `Function 'TooManyStatements' has too... function withComments (line 126) | func withComments() { FILE: pkg/golinters/funlen/testdata/funlen_cgo.go function _ (line 18) | func _() { function TooManyLines (line 24) | func TooManyLines() { // want `Function 'TooManyLines' is too long \(70 ... function TooManyStatements (line 97) | func TooManyStatements() { // want `Function 'TooManyStatements' has too... function withComments (line 146) | func withComments() { FILE: pkg/golinters/funlen/testdata/funlen_custom.go function TooManyLines (line 5) | func TooManyLines() { // want `Function 'TooManyLines' is too long \(22 ... function TooManyStatements (line 30) | func TooManyStatements() { // want `Function 'TooManyStatements' has too... FILE: pkg/golinters/funlen/testdata/funlen_ignore_comments.go function withComments (line 6) | func withComments() { FILE: pkg/golinters/gci/gci.go constant linterName (line 11) | linterName = "gci" function New (line 13) | func New(settings *config.GciSettings) *goanalysis.Linter { FILE: pkg/golinters/gci/gci_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/gci/testdata/fix/in/gci.go function GoimportsLocalTest (line 14) | func GoimportsLocalTest() { FILE: pkg/golinters/gci/testdata/fix/out/gci.go function GoimportsLocalTest (line 14) | func GoimportsLocalTest() { FILE: pkg/golinters/gci/testdata/gci.go function GoimportsLocalTest (line 12) | func GoimportsLocalTest() { FILE: pkg/golinters/gci/testdata/gci_cgo.go function _ (line 22) | func _() { function GoimportsLocalTest (line 28) | func GoimportsLocalTest() { FILE: pkg/golinters/gci/testdata/gci_go124.go function _ (line 13) | func _() { FILE: pkg/golinters/ginkgolinter/ginkgolinter.go function New (line 11) | func New(settings *config.GinkgoLinterSettings) *goanalysis.Linter { FILE: pkg/golinters/ginkgolinter/ginkgolinter_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter.go function LenUsecase (line 12) | func LenUsecase() { function NilUsecase (line 29) | func NilUsecase() { function BooleanUsecase (line 38) | func BooleanUsecase() { function ErrorUsecase (line 45) | func ErrorUsecase() { function HaveLen0Usecase (line 56) | func HaveLen0Usecase() { function WrongComparisonUsecase (line 61) | func WrongComparisonUsecase() { function slowInt (line 71) | func slowInt() int { function WrongEventuallyWithFunction (line 76) | func WrongEventuallyWithFunction() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_cgo.go function _ (line 20) | func _() { function LenUsecase (line 26) | func LenUsecase() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_havelen0.go function LenUsecase_havelen0 (line 13) | func LenUsecase_havelen0() { function NilUsecase_havelen0 (line 30) | func NilUsecase_havelen0() { function BooleanUsecase_havelen0 (line 39) | func BooleanUsecase_havelen0() { function ErrorUsecase_havelen0 (line 46) | func ErrorUsecase_havelen0() { function HaveLen0Usecase_havelen0 (line 57) | func HaveLen0Usecase_havelen0() { function WrongComparisonUsecase_havelen0 (line 62) | func WrongComparisonUsecase_havelen0() { function slowInt_havelen0 (line 72) | func slowInt_havelen0() int { function WrongEventuallyWithFunction_havelen0 (line 77) | func WrongEventuallyWithFunction_havelen0() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_suppress_async.go function LenUsecase_async (line 13) | func LenUsecase_async() { function NilUsecase_async (line 30) | func NilUsecase_async() { function BooleanUsecase_async (line 39) | func BooleanUsecase_async() { function ErrorUsecase_async (line 46) | func ErrorUsecase_async() { function HaveLen0Usecase_async (line 57) | func HaveLen0Usecase_async() { function WrongComparisonUsecase_async (line 62) | func WrongComparisonUsecase_async() { function slowInt_async (line 72) | func slowInt_async() int { function WrongEventuallyWithFunction_async (line 78) | func WrongEventuallyWithFunction_async() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_suppress_compare.go function LenUsecase_compare (line 13) | func LenUsecase_compare() { function NilUsecase_compare (line 30) | func NilUsecase_compare() { function BooleanUsecase_compare (line 39) | func BooleanUsecase_compare() { function ErrorUsecase_compare (line 46) | func ErrorUsecase_compare() { function HaveLen0Usecase_compare (line 57) | func HaveLen0Usecase_compare() { function WrongComparisonUsecase_compare (line 63) | func WrongComparisonUsecase_compare() { function slowInt_compare (line 73) | func slowInt_compare() int { function WrongEventuallyWithFunction_compare (line 78) | func WrongEventuallyWithFunction_compare() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_suppress_err.go function LenUsecase_err (line 13) | func LenUsecase_err() { function NilUsecase_err (line 30) | func NilUsecase_err() { function BooleanUsecase_err (line 39) | func BooleanUsecase_err() { function ErrorUsecase_err (line 47) | func ErrorUsecase_err() { function HaveLen0Usecase_err (line 58) | func HaveLen0Usecase_err() { function WrongComparisonUsecase_err (line 63) | func WrongComparisonUsecase_err() { function slowInt_err (line 73) | func slowInt_err() int { function WrongEventuallyWithFunction_err (line 78) | func WrongEventuallyWithFunction_err() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_suppress_focused_containers.go function LenUsecase_focus (line 13) | func LenUsecase_focus() { function NilUsecase_focus (line 30) | func NilUsecase_focus() { function BooleanUsecase_focus (line 39) | func BooleanUsecase_focus() { function ErrorUsecase_focus (line 46) | func ErrorUsecase_focus() { function HaveLen0Usecase_focus (line 57) | func HaveLen0Usecase_focus() { function WrongComparisonUsecase_focus (line 62) | func WrongComparisonUsecase_focus() { function slowInt_focus (line 72) | func slowInt_focus() int { function WrongEventuallyWithFunction_focus (line 77) | func WrongEventuallyWithFunction_focus() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_suppress_len.go function LenUsecase_len (line 14) | func LenUsecase_len() { function NilUsecase_len (line 31) | func NilUsecase_len() { function BooleanUsecase_len (line 40) | func BooleanUsecase_len() { function ErrorUsecase_len (line 47) | func ErrorUsecase_len() { function HaveLen0Usecase_len (line 58) | func HaveLen0Usecase_len() { function WrongComparisonUsecase_len (line 63) | func WrongComparisonUsecase_len() { function slowInt_len (line 73) | func slowInt_len() int { function WrongEventuallyWithFunction_len (line 78) | func WrongEventuallyWithFunction_len() { FILE: pkg/golinters/ginkgolinter/testdata/ginkgolinter_suppress_nil.go function LenUsecase_nil (line 13) | func LenUsecase_nil() { function NilUsecase_nil (line 31) | func NilUsecase_nil() { function BooleanUsecase_nil (line 40) | func BooleanUsecase_nil() { function ErrorUsecase_nil (line 47) | func ErrorUsecase_nil() { function HaveLen0Usecase_nil (line 58) | func HaveLen0Usecase_nil() { function WrongComparisonUsecase_nil (line 63) | func WrongComparisonUsecase_nil() { function slowInt_nil (line 73) | func slowInt_nil() int { function WrongEventuallyWithFunction_nil (line 78) | func WrongEventuallyWithFunction_nil() { FILE: pkg/golinters/gocheckcompilerdirectives/gocheckcompilerdirectives.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/gocheckcompilerdirectives/gocheckcompilerdirectives_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gocheckcompilerdirectives/testdata/gocheckcompilerdirectives_cgo.go function _ (line 19) | func _() { FILE: pkg/golinters/gochecknoglobals/gochecknoglobals.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/gochecknoglobals/gochecknoglobals_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gochecknoglobals/testdata/gochecknoglobals.go function NoGlobals (line 18) | func NoGlobals() { FILE: pkg/golinters/gochecknoglobals/testdata/gochecknoglobals_cgo.go function _ (line 21) | func _() { function NoGlobals (line 35) | func NoGlobals() { FILE: pkg/golinters/gochecknoinits/gochecknoinits.go function New (line 14) | func New() *goanalysis.Linter { function run (line 25) | func run(pass *analysis.Pass) (any, error) { FILE: pkg/golinters/gochecknoinits/gochecknoinits_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gochecknoinits/testdata/gochecknoinits.go function init (line 6) | func init() { // want "don't use `init` function" function Init (line 10) | func Init() {} FILE: pkg/golinters/gochecknoinits/testdata/gochecknoinits_cgo.go function _ (line 19) | func _() { function init (line 25) | func init() { // want "don't use `init` function" function Init (line 29) | func Init() {} FILE: pkg/golinters/gochecksumtype/gochecksumtype.go constant linterName (line 17) | linterName = "gochecksumtype" function New (line 19) | func New(settings *config.GoChecksumTypeSettings) *goanalysis.Linter { function runGoCheckSumType (line 50) | func runGoCheckSumType(pass *analysis.Pass, settings *config.GoChecksumT... FILE: pkg/golinters/gochecksumtype/gochecksumtype_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gochecksumtype/testdata/gochecksumtype.go type SumType (line 9) | type SumType interface type One (line 12) | type One struct method isSumType (line 14) | func (One) isSumType() {} type Two (line 16) | type Two struct method isSumType (line 18) | func (Two) isSumType() {} function sumTypeTest (line 20) | func sumTypeTest() { FILE: pkg/golinters/gochecksumtype/testdata/gochecksumtype_cgo.go function _ (line 19) | func _() { type SumType (line 26) | type SumType interface type One (line 29) | type One struct method isSumType (line 31) | func (One) isSumType() {} type Two (line 33) | type Two struct method isSumType (line 35) | func (Two) isSumType() {} function sumTypeTest (line 37) | func sumTypeTest() { FILE: pkg/golinters/gochecksumtype/testdata/gochecksumtype_custom.go type SumType (line 10) | type SumType interface type One (line 13) | type One struct method isSumType (line 15) | func (One) isSumType() {} type Two (line 17) | type Two struct method isSumType (line 19) | func (Two) isSumType() {} function sumTypeTest (line 21) | func sumTypeTest() { FILE: pkg/golinters/gocognit/gocognit.go constant linterName (line 18) | linterName = "gocognit" function New (line 20) | func New(settings *config.GocognitSettings) *goanalysis.Linter { function runGocognit (line 48) | func runGocognit(pass *analysis.Pass, settings *config.GocognitSettings)... FILE: pkg/golinters/gocognit/gocognit_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gocognit/testdata/gocognit.go function GoCognit_CC4_GetWords (line 5) | func GoCognit_CC4_GetWords(number int) string { // want "cognitive compl... function GoCognit_CC1_GetWords (line 17) | func GoCognit_CC1_GetWords(number int) string { function GoCognit_CC3_Fact (line 30) | func GoCognit_CC3_Fact(n int) int { // want "cognitive complexity 3 of f... function GoCognit_CC7_SumOfPrimes (line 38) | func GoCognit_CC7_SumOfPrimes(max int) int { // want "cognitive complexi... FILE: pkg/golinters/gocognit/testdata/gocognit_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _(number int) string { // want "cognitive complexity 4 of func .* i... FILE: pkg/golinters/goconst/goconst.go constant linterName (line 17) | linterName = "goconst" function New (line 19) | func New(settings *config.GoConstSettings) *goanalysis.Linter { function runGoconst (line 50) | func runGoconst(pass *analysis.Pass, settings *config.GoConstSettings) (... FILE: pkg/golinters/goconst/goconst_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/goconst/testdata/goconst.go function GoconstA (line 6) | func GoconstA() { function GoconstB (line 15) | func GoconstB() { constant AlreadyHasConst (line 22) | AlreadyHasConst = "alreadyhasconst" function GoconstC (line 24) | func GoconstC() { FILE: pkg/golinters/goconst/testdata/goconst_calls_enabled.go constant FooBar (line 7) | FooBar = "foobar" function Baz (line 9) | func Baz() { FILE: pkg/golinters/goconst/testdata/goconst_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { function _ (line 34) | func _() { FILE: pkg/golinters/goconst/testdata/goconst_dont_ignore_test.go function TestGoConstA (line 9) | func TestGoConstA(t *testing.T) { function TestGoConstB (line 18) | func TestGoConstB(t *testing.T) { constant AlreadyHasConst (line 25) | AlreadyHasConst = "alreadyhasconst" function TestGoConstC (line 27) | func TestGoConstC(t *testing.T) { FILE: pkg/golinters/goconst/testdata/goconst_eval_and_find_duplicates.go constant envPrefix (line 8) | envPrefix = "FOO_" constant EnvUser (line 9) | EnvUser = envPrefix + "USER" constant EnvPassword (line 10) | EnvPassword = envPrefix + "PASSWORD" constant EnvUserFull (line 13) | EnvUserFull = "FOO_USER" constant KiB (line 15) | KiB = 1 << 10 function _ (line 17) | func _() { FILE: pkg/golinters/goconst/testdata/goconst_eval_const_expressions.go constant prefix (line 6) | prefix = "example.com/" constant API (line 7) | API = prefix + "api" constant Web (line 8) | Web = prefix + "web" constant Full (line 11) | Full = "example.com/api" function _ (line 13) | func _() { FILE: pkg/golinters/goconst/testdata/goconst_find_duplicates.go constant SingleConst (line 5) | SingleConst = "single constant" constant GroupedConst1 (line 8) | GroupedConst1 = "grouped constant" constant GroupedConst2 (line 9) | GroupedConst2 = "another grouped" constant GroupedDuplicateConst1 (line 13) | GroupedDuplicateConst1 = "grouped duplicate value" constant GroupedDuplicateConst2 (line 14) | GroupedDuplicateConst2 = "grouped duplicate value" constant DuplicateConst1 (line 17) | DuplicateConst1 = "duplicate value" constant DuplicateConst2 (line 19) | DuplicateConst2 = "duplicate value" constant SpecialDuplicateConst1 (line 22) | SpecialDuplicateConst1 = "special\nvalue\twith\rchars" constant SpecialDuplicateConst2 (line 23) | SpecialDuplicateConst2 = "special\nvalue\twith\rchars" function _ (line 26) | func _() { FILE: pkg/golinters/gocritic/gocritic.go constant linterName (line 24) | linterName = "gocritic" function New (line 31) | func New(settings *config.GoCriticSettings, replacer *strings.Replacer) ... type goCriticWrapper (line 57) | type goCriticWrapper struct method init (line 63) | func (w *goCriticWrapper) init(logger logutils.Log, settings *config.G... method run (line 84) | func (w *goCriticWrapper) run(pass *analysis.Pass) error { method buildEnabledCheckers (line 117) | func (w *goCriticWrapper) buildEnabledCheckers(linterCtx *gocriticlint... function runOnFile (line 142) | func runOnFile(pass *analysis.Pass, f *ast.File, checks []*gocriticlinte... FILE: pkg/golinters/gocritic/gocritic_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/gocritic/gocritic_settings.go type settingsWrapper (line 17) | type settingsWrapper struct method IsCheckEnabled (line 69) | func (s *settingsWrapper) IsCheckEnabled(name string) bool { method GetLowerCasedParams (line 73) | func (s *settingsWrapper) GetLowerCasedParams() map[string]config.GoCr... method Load (line 77) | func (s *settingsWrapper) Load() error { method inferEnabledChecks (line 85) | func (s *settingsWrapper) inferEnabledChecks() { method buildEnabledAndDisabledByDefaultChecks (line 168) | func (s *settingsWrapper) buildEnabledAndDisabledByDefaultChecks() (en... method expandTagsToChecks (line 180) | func (s *settingsWrapper) expandTagsToChecks(tags []string) []string { method setCheckerParams (line 190) | func (s *settingsWrapper) setCheckerParams( method debugChecksInitialState (line 221) | func (s *settingsWrapper) debugChecksInitialState() { method debugChecksFinalState (line 233) | func (s *settingsWrapper) debugChecksFinalState() { method normalizeCheckerParamsValue (line 263) | func (s *settingsWrapper) normalizeCheckerParamsValue(p any) any { method validate (line 283) | func (s *settingsWrapper) validate() error { method validateOptionsCombinations (line 298) | func (s *settingsWrapper) validateOptionsCombinations() error { method validateCheckerTags (line 330) | func (s *settingsWrapper) validateCheckerTags() error { method validateCheckerNames (line 346) | func (s *settingsWrapper) validateCheckerNames() error { method validateDisabledAndEnabledAtOneMoment (line 374) | func (s *settingsWrapper) validateDisabledAndEnabledAtOneMoment() error { method validateAtLeastOneCheckerEnabled (line 390) | func (s *settingsWrapper) validateAtLeastOneCheckerEnabled() error { function newSettingsWrapper (line 37) | func newSettingsWrapper(logger logutils.Log, settings *config.GoCriticSe... type goCriticChecks (line 398) | type goCriticChecks method has (line 400) | func (m goCriticChecks[T]) has(name string) bool { function debugChecksListf (line 405) | func debugChecksListf(checks []string, format string, args ...any) { function normalizeMap (line 415) | func normalizeMap[ValueT any](in map[string]ValueT) map[string]ValueT { function isEnabledByDefaultGoCriticChecker (line 425) | func isEnabledByDefaultGoCriticChecker(info *gocriticlinter.CheckerInfo)... FILE: pkg/golinters/gocritic/gocritic_settings_test.go function Test_settingsWrapper_inferEnabledChecks (line 19) | func Test_settingsWrapper_inferEnabledChecks(t *testing.T) { function Test_settingsWrapper_Load (line 277) | func Test_settingsWrapper_Load(t *testing.T) { type Slicer (line 453) | type Slicer method add (line 455) | func (s Slicer) add(toAdd ...string) Slicer { method remove (line 459) | func (s Slicer) remove(toRemove ...string) Slicer { method uniq (line 471) | func (s Slicer) uniq() Slicer { FILE: pkg/golinters/gocritic/testdata/fix/in/gocritic.go function gocritic (line 10) | func gocritic() { FILE: pkg/golinters/gocritic/testdata/fix/out/gocritic.go function gocritic (line 10) | func gocritic() { FILE: pkg/golinters/gocritic/testdata/gocritic.go type size1 (line 14) | type size1 struct type size2 (line 18) | type size2 struct function gocriticAppendAssign (line 23) | func gocriticAppendAssign() { function gocriticDupSubExpr (line 30) | func gocriticDupSubExpr(x bool) { function gocriticHugeParamSize1 (line 36) | func gocriticHugeParamSize1(ss size1) { function gocriticHugeParamSize2 (line 40) | func gocriticHugeParamSize2(ss size2) { // want "hugeParam: ss is heavy ... function gocriticHugeParamSize2Ptr (line 44) | func gocriticHugeParamSize2Ptr(ss *size2) { function gocriticSwitchTrue (line 48) | func gocriticSwitchTrue() { function goCriticPreferStringWriter (line 57) | func goCriticPreferStringWriter(w interface { function gocriticStringSimplify (line 64) | func gocriticStringSimplify() { function gocriticRuleWrapperFunc (line 70) | func gocriticRuleWrapperFunc() { FILE: pkg/golinters/gocritic/testdata/gocritic_cgo.go function _ (line 20) | func _() { FILE: pkg/golinters/gocritic/testdata/gocritic_importShadow.go function Bar (line 10) | func Bar() { function foo (line 14) | func foo() { FILE: pkg/golinters/gocritic/testdata/ruleguard/preferWriteString.go function preferWriteString (line 7) | func preferWriteString(m dsl.Matcher) { FILE: pkg/golinters/gocritic/testdata/ruleguard/rangeExprCopy.go function rangeExprCopy (line 9) | func rangeExprCopy(m dsl.Matcher) { FILE: pkg/golinters/gocritic/testdata/ruleguard/stringsSimplify.go function stringsSimplify (line 7) | func stringsSimplify(m dsl.Matcher) { FILE: pkg/golinters/gocyclo/gocyclo.go constant linterName (line 17) | linterName = "gocyclo" function New (line 19) | func New(settings *config.GoCycloSettings) *goanalysis.Linter { function runGoCyclo (line 47) | func runGoCyclo(pass *analysis.Pass, settings *config.GoCycloSettings) [... FILE: pkg/golinters/gocyclo/gocyclo_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gocyclo/testdata/gocyclo.go function GocycloBigComplexity (line 7) | func GocycloBigComplexity(s string) { // want "cyclomatic complexity .* ... FILE: pkg/golinters/gocyclo/testdata/gocyclo_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _(s string) { // want "cyclomatic complexity .* of func .* is high .*" FILE: pkg/golinters/godoclint/godoclint.go function New (line 17) | func New(settings *config.GodoclintSettings) *goanalysis.Linter { function checkSettings (line 81) | func checkSettings(settings *config.GodoclintSettings) error { function pointer (line 110) | func pointer[T any](v T) *T { return &v } function deref (line 112) | func deref[T any](v *T) T { FILE: pkg/golinters/godoclint/godoclint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/godoclint/testdata/godoclint_default_fail.go type FooType (line 11) | type FooType struct method FooFunc (line 26) | func (FooType) FooFunc() {} constant FooConst (line 17) | FooConst = 1 function FooFunc (line 23) | func FooFunc() {} constant DeprecatedConstA (line 31) | DeprecatedConstA = 1 constant DeprecatedConstB (line 36) | DeprecatedConstB = 1 constant DeprecatedConstC (line 41) | DeprecatedConstC = 1 FILE: pkg/golinters/godoclint/testdata/godoclint_default_pass.go type FooType (line 12) | type FooType struct method FooFunc (line 27) | func (FooType) FooFunc() {} method fooFunc (line 45) | func (FooType) fooFunc() {} constant FooConst (line 18) | FooConst = 1 function FooFunc (line 24) | func FooFunc() {} type fooType (line 30) | type fooType struct constant fooConst (line 36) | fooConst = 1 function fooFunc (line 42) | func fooFunc() {} constant DeprecatedConstA (line 50) | DeprecatedConstA = 1 constant DeprecatedConstB (line 53) | DeprecatedConstB = 1 constant deprecatedConstC (line 58) | deprecatedConstC = 1 constant constWithStdlibDoclink (line 62) | constWithStdlibDoclink = 1 FILE: pkg/golinters/godoclint/testdata/godoclint_full_fail.go type FooType (line 16) | type FooType struct method FooFunc (line 31) | func (FooType) FooFunc() {} method fooFunc (line 49) | func (FooType) fooFunc() {} constant FooConst (line 22) | FooConst = 1 function FooFunc (line 28) | func FooFunc() {} type fooType (line 34) | type fooType struct constant fooConst (line 40) | fooConst = 1 function fooFunc (line 46) | func fooFunc() {} type BarType (line 56) | type BarType struct method BarFunc (line 66) | func (BarType) BarFunc() {} method barFunc (line 78) | func (BarType) barFunc() {} constant BarConst (line 60) | BarConst = 1 function BarFunc (line 64) | func BarFunc() {} type barType (line 68) | type barType struct constant barConst (line 72) | barConst = 1 function barFunc (line 76) | func barFunc() {} constant constWithUnusedLink (line 87) | constWithUnusedLink = 1 constant constWithTooLongGodoc (line 92) | constWithTooLongGodoc = 1 constant DeprecatedConstA (line 97) | DeprecatedConstA = 1 constant DeprecatedConstB (line 102) | DeprecatedConstB = 1 constant DeprecatedConstC (line 107) | DeprecatedConstC = 1 constant constWithStdlibDoclink (line 112) | constWithStdlibDoclink = 1 FILE: pkg/golinters/godoclint/testdata/godoclint_full_pass.go type FooType (line 17) | type FooType struct method FooFunc (line 32) | func (FooType) FooFunc() {} method fooFunc (line 50) | func (FooType) fooFunc() {} constant FooConst (line 23) | FooConst = 1 function FooFunc (line 29) | func FooFunc() {} type fooType (line 35) | type fooType struct constant fooConst (line 41) | fooConst = 1 function fooFunc (line 47) | func fooFunc() {} constant constWithUnusedLink (line 57) | constWithUnusedLink = 1 constant constWithTooLongGodoc (line 62) | constWithTooLongGodoc = 1 constant DeprecatedConstA (line 67) | DeprecatedConstA = 1 constant DeprecatedConstB (line 70) | DeprecatedConstB = 1 constant deprecatedConstC (line 75) | deprecatedConstC = 1 constant constWithStdlibDoclink (line 78) | constWithStdlibDoclink = 1 FILE: pkg/golinters/godoclint/testdata/godoclint_full_pass_test.go type FooType (line 17) | type FooType struct method FooFunc (line 32) | func (FooType) FooFunc() {} method fooFunc (line 50) | func (FooType) fooFunc() {} constant FooConst (line 23) | FooConst = 1 function FooFunc (line 29) | func FooFunc() {} type fooType (line 35) | type fooType struct constant fooConst (line 41) | fooConst = 1 function fooFunc (line 47) | func fooFunc() {} constant constWithUnusedLink (line 57) | constWithUnusedLink = 1 constant constWithTooLongGodoc (line 62) | constWithTooLongGodoc = 1 constant DeprecatedConstA (line 67) | DeprecatedConstA = 1 constant DeprecatedConstB (line 70) | DeprecatedConstB = 1 constant constWithStdlibDoclink (line 73) | constWithStdlibDoclink = 1 FILE: pkg/golinters/godot/godot.go function New (line 13) | func New(settings *config.GodotSettings) *goanalysis.Linter { function runGodot (line 43) | func runGodot(pass *analysis.Pass, settings godot.Settings) error { FILE: pkg/golinters/godot/godot_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/godot/testdata/fix/in/godot.go function godot (line 10) | func godot(a, b int) int { function Foo (line 18) | func Foo() { FILE: pkg/golinters/godot/testdata/fix/out/godot.go function godot (line 10) | func godot(a, b int) int { function Foo (line 18) | func Foo() { FILE: pkg/golinters/godot/testdata/godot.go function Godot (line 7) | func Godot() { function Foo (line 16) | func Foo() { FILE: pkg/golinters/godot/testdata/godot_cgo.go function _ (line 18) | func _() { function Godot (line 27) | func Godot() { FILE: pkg/golinters/godox/godox.go function New (line 14) | func New(settings *config.GodoxSettings) *goanalysis.Linter { function run (line 26) | func run(pass *analysis.Pass, settings *config.GodoxSettings) error { FILE: pkg/golinters/godox/godox_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/godox/testdata/godox.go function todoLeftInCode (line 5) | func todoLeftInCode() { FILE: pkg/golinters/godox/testdata/godox_cgo.go function _ (line 19) | func _() { function todoLeftInCode (line 25) | func todoLeftInCode() { FILE: pkg/golinters/gofmt/gofmt.go function New (line 11) | func New(settings *config.GoFmtSettings) *goanalysis.Linter { FILE: pkg/golinters/gofmt/gofmt_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/gofmt/testdata/fix/in/gofmt.go function gofmt (line 5) | func gofmt(a, b int) int { FILE: pkg/golinters/gofmt/testdata/fix/in/gofmt_rewrite_rules.go function GofmtRewriteRule (line 7) | func GofmtRewriteRule() { function GofmtRewriteRule2 (line 19) | func GofmtRewriteRule2() { FILE: pkg/golinters/gofmt/testdata/fix/out/gofmt.go function gofmt (line 5) | func gofmt(a, b int) int { FILE: pkg/golinters/gofmt/testdata/fix/out/gofmt_rewrite_rules.go function GofmtRewriteRule (line 7) | func GofmtRewriteRule() { function GofmtRewriteRule2 (line 19) | func GofmtRewriteRule2() { FILE: pkg/golinters/gofmt/testdata/gofmt.go function GofmtNotSimplified (line 6) | func GofmtNotSimplified() { FILE: pkg/golinters/gofmt/testdata/gofmt_cgo.go function _ (line 19) | func _() { function GofmtNotSimplified (line 25) | func GofmtNotSimplified() { FILE: pkg/golinters/gofmt/testdata/gofmt_no_simplify.go function GofmtNotSimplifiedOk (line 6) | func GofmtNotSimplifiedOk() { function GofmtBadFormat (line 11) | func GofmtBadFormat(){ // want "File is not properly formatted" FILE: pkg/golinters/gofmt/testdata/gofmt_rewrite_rules.go function GofmtRewriteRule (line 6) | func GofmtRewriteRule() { FILE: pkg/golinters/gofmt/testdata/gofmt_too_many_empty_lines.go function _ (line 7) | func _() { FILE: pkg/golinters/gofumpt/gofumpt.go function New (line 11) | func New(settings *config.GoFumptSettings) *goanalysis.Linter { FILE: pkg/golinters/gofumpt/gofumpt_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/gofumpt/testdata/fix/in/gofumpt.go function GofmtNotExtra (line 7) | func GofmtNotExtra(bar string, baz string) { FILE: pkg/golinters/gofumpt/testdata/fix/in/gofumpt_cgo.go function GofmtNotExtra (line 17) | func GofmtNotExtra(bar string, baz string) { FILE: pkg/golinters/gofumpt/testdata/fix/out/gofumpt.go function GofmtNotExtra (line 7) | func GofmtNotExtra(bar, baz string) { FILE: pkg/golinters/gofumpt/testdata/fix/out/gofumpt_cgo.go function GofmtNotExtra (line 17) | func GofmtNotExtra(bar, baz string) { FILE: pkg/golinters/gofumpt/testdata/gofumpt.go function GofumptNewLine (line 6) | func GofumptNewLine() { FILE: pkg/golinters/gofumpt/testdata/gofumpt_cgo.go function _ (line 19) | func _() { function GofumptNewLine (line 25) | func GofumptNewLine() { FILE: pkg/golinters/gofumpt/testdata/gofumpt_too_many_empty_lines.go function _ (line 7) | func _() { FILE: pkg/golinters/gofumpt/testdata/gofumpt_with_extra.go function GofmtNotExtra (line 6) | func GofmtNotExtra(bar string, baz string) { // want "File is not proper... FILE: pkg/golinters/goheader/goheader.go constant linterName (line 14) | linterName = "goheader" function New (line 16) | func New(settings *config.GoHeaderSettings, replacer *strings.Replacer) ... function runGoHeader (line 42) | func runGoHeader(pass *analysis.Pass, conf *goheader.Configuration) error { FILE: pkg/golinters/goheader/goheader_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/goheader/testdata/goheader_cgo.go function _ (line 25) | func _() { FILE: pkg/golinters/goimports/goimports.go function New (line 11) | func New(settings *config.GoImportsSettings) *goanalysis.Linter { FILE: pkg/golinters/goimports/goimports_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/goimports/testdata/fix/in/goimports.go function goimports (line 10) | func goimports(a, b int) int { FILE: pkg/golinters/goimports/testdata/fix/in/goimports_cgo.go function goimports (line 20) | func goimports(a, b int) int { FILE: pkg/golinters/goimports/testdata/fix/out/goimports.go function goimports (line 5) | func goimports(a, b int) int { FILE: pkg/golinters/goimports/testdata/fix/out/goimports_cgo.go function goimports (line 15) | func goimports(a, b int) int { FILE: pkg/golinters/goimports/testdata/goimports.go function Bar (line 9) | func Bar() { FILE: pkg/golinters/goimports/testdata/goimports_cgo.go function _ (line 20) | func _() { function Bar (line 26) | func Bar() { FILE: pkg/golinters/goimports/testdata/goimports_local.go function GoimportsLocalPrefixTest (line 11) | func GoimportsLocalPrefixTest() { FILE: pkg/golinters/golines/golines.go function New (line 11) | func New(settings *config.GoLinesSettings) *goanalysis.Linter { FILE: pkg/golinters/golines/golines_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/golines/testdata/fix/in/golines-custom.go type Foo (line 6) | type Foo struct FILE: pkg/golinters/golines/testdata/fix/in/golines.go type MyStruct (line 11) | type MyStruct struct type MyInterface (line 17) | type MyInterface interface function longLine (line 26) | func longLine(aReallyLongName string, anotherLongName string, aThirdLong... function shortFunc (line 61) | func shortFunc(a int, b int) error { FILE: pkg/golinters/golines/testdata/fix/out/golines-custom.go type Foo (line 6) | type Foo struct FILE: pkg/golinters/golines/testdata/fix/out/golines.go type MyStruct (line 25) | type MyStruct struct type MyInterface (line 31) | type MyInterface interface function longLine (line 47) | func longLine( function shortFunc (line 119) | func shortFunc(a int, b int) error { FILE: pkg/golinters/golines/testdata/golines.go type MyStruct (line 11) | type MyStruct struct type MyInterface (line 17) | type MyInterface interface function longLine (line 26) | func longLine(aReallyLongName string, anotherLongName string, aThirdLong... function shortFunc (line 61) | func shortFunc(a int, b int) error { FILE: pkg/golinters/gomoddirectives/gomoddirectives.go constant linterName (line 17) | linterName = "gomoddirectives" function New (line 19) | func New(settings *config.GoModDirectivesSettings) *goanalysis.Linter { FILE: pkg/golinters/gomodguard/gomodguard.go constant linterName (line 16) | linterName = "gomodguard" function New (line 18) | func New(settings *config.GoModGuardSettings) *goanalysis.Linter { FILE: pkg/golinters/gomodguard/gomodguard_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gomodguard/testdata/gomodguard.go type Something (line 13) | type Something struct function aAllowedImport (line 15) | func aAllowedImport() { //nolint:unused function aBlockedImport (line 21) | func aBlockedImport() { //nolint:unused FILE: pkg/golinters/gomodguard/testdata/gomodguard_cgo.go function _ (line 23) | func _() { type Something (line 30) | type Something struct function aAllowedImport (line 32) | func aAllowedImport() { //nolint:unused function aBlockedImport (line 38) | func aBlockedImport() { //nolint:unused FILE: pkg/golinters/goprintffuncname/goprintffuncname.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/goprintffuncname/goprintffuncname_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/goprintffuncname/testdata/goprintffuncname.go function PrintfLikeFuncWithBadName (line 4) | func PrintfLikeFuncWithBadName(format string, args ...interface{}) { // ... FILE: pkg/golinters/goprintffuncname/testdata/goprintffuncname_cgo.go function _ (line 18) | func _() { function PrintfLikeFuncWithBadName (line 24) | func PrintfLikeFuncWithBadName(format string, args ...interface{}) { // ... FILE: pkg/golinters/gosec/gosec.go constant linterName (line 25) | linterName = "gosec" function New (line 27) | func New(settings *config.GoSecSettings) *goanalysis.Linter { function runGoSec (line 82) | func runGoSec(lintCtx *linter.Context, pass *analysis.Pass, settings *co... function toGosecConfig (line 148) | func toGosecConfig(settings *config.GoSecSettings) gosec.Config { function convertScoreToString (line 165) | func convertScoreToString(score issue.Score) string { function convertGosecGlobals (line 179) | func convertGosecGlobals(globalOptionFromConfig any, conf gosec.Config) { function createAnalyzerFilters (line 199) | func createAnalyzerFilters(includes, excludes []string) []analyzers.Anal... function createRuleFilters (line 214) | func createRuleFilters(includes, excludes []string) []rules.RuleFilter { function convertToScore (line 229) | func convertToScore(str string) (issue.Score, error) { function filterIssues (line 244) | func filterIssues(issues []*issue.Issue, severity, confidence issue.Scor... FILE: pkg/golinters/gosec/gosec_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gosec/gosec_test.go function Test_toGosecConfig (line 12) | func Test_toGosecConfig(t *testing.T) { FILE: pkg/golinters/gosec/testdata/gosec.go function Gosec (line 12) | func Gosec() { function GosecNolintGosec (line 17) | func GosecNolintGosec() { function GosecNoErrorCheckingByDefault (line 22) | func GosecNoErrorCheckingByDefault() { function GosecG204SubprocWithFunc (line 27) | func GosecG204SubprocWithFunc() { FILE: pkg/golinters/gosec/testdata/gosec_cgo.go function _ (line 24) | func _() { function Gosec (line 30) | func Gosec() { FILE: pkg/golinters/gosec/testdata/gosec_global_option.go function Gosec (line 10) | func Gosec() { FILE: pkg/golinters/gosec/testdata/gosec_nosec.go function Gosec (line 10) | func Gosec() { FILE: pkg/golinters/gosec/testdata/gosec_rules_config.go constant gosecToken (line 7) | gosecToken = "62ebc7a03d6ca24dca1258fd4b48462f6fed1545" constant gosecSimple (line 8) | gosecSimple = "62ebc7a03d6ca24dca1258fd4b48462f6fed1545" function gosecCustom (line 10) | func gosecCustom() { FILE: pkg/golinters/gosec/testdata/gosec_severity_confidence.go function gosecVariableURL (line 13) | func gosecVariableURL() { function gosecHardcodedCredentials (line 26) | func gosecHardcodedCredentials() { FILE: pkg/golinters/gosmopolitan/gosmopolitan.go function New (line 12) | func New(settings *config.GosmopolitanSettings) *goanalysis.Linter { FILE: pkg/golinters/gosmopolitan/gosmopolitan_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/gosmopolitan/testdata/gosmopolitan.go type col (line 9) | type col struct function main (line 14) | func main() { FILE: pkg/golinters/gosmopolitan/testdata/gosmopolitan_allow_time_local.go function main (line 10) | func main() { FILE: pkg/golinters/gosmopolitan/testdata/gosmopolitan_cgo.go function _ (line 20) | func _() { type col (line 26) | type col struct function _ (line 31) | func _() { FILE: pkg/golinters/gosmopolitan/testdata/gosmopolitan_dont_ignore_test.go function main (line 8) | func main() { FILE: pkg/golinters/gosmopolitan/testdata/gosmopolitan_escape_hatches.go type A (line 9) | type A type C (line 11) | type C struct function D (line 16) | func D(fmt string) string { type X (line 21) | type X struct function main (line 25) | func main() { FILE: pkg/golinters/gosmopolitan/testdata/gosmopolitan_scripts.go function main (line 9) | func main() { FILE: pkg/golinters/govet/govet.go function New (line 157) | func New(settings *config.GovetSettings) *goanalysis.Linter { function analyzersFromConfig (line 172) | func analyzersFromConfig(settings *config.GovetSettings) []*analysis.Ana... function isAnalyzerEnabled (line 192) | func isAnalyzerEnabled(name string, cfg *config.GovetSettings, defaultAn... function logAnalyzers (line 216) | func logAnalyzers(message string, analyzers []*analysis.Analyzer) { FILE: pkg/golinters/govet/govet_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/govet/govet_test.go function TestGovet (line 19) | func TestGovet(t *testing.T) { function sortAnalyzers (line 34) | func sortAnalyzers(a, b *analysis.Analyzer) int { function TestGovetSorted (line 46) | func TestGovetSorted(t *testing.T) { function TestGovetAnalyzerIsEnabled (line 61) | func TestGovetAnalyzerIsEnabled(t *testing.T) { FILE: pkg/golinters/govet/testdata/fix/in/govet.go type Foo (line 12) | type Foo struct function nonConstantFormat (line 20) | func nonConstantFormat(s string) { FILE: pkg/golinters/govet/testdata/fix/out/govet.go type Foo (line 12) | type Foo struct function nonConstantFormat (line 20) | func nonConstantFormat(s string) { FILE: pkg/golinters/govet/testdata/govet.go function GovetComposites (line 11) | func GovetComposites() error { function GovetShadow (line 15) | func GovetShadow(f io.Reader, buf []byte) (err error) { function GovetPrintf (line 27) | func GovetPrintf() { function GovetStringIntConv (line 32) | func GovetStringIntConv() { FILE: pkg/golinters/govet/testdata/govet_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _(f io.Reader, buf []byte) (err error) { FILE: pkg/golinters/govet/testdata/govet_custom_formatter.go constant escape (line 12) | escape = "\x1b" constant reset (line 13) | reset = escape + "[0m" constant green (line 14) | green = escape + "[32m" constant minValue (line 16) | minValue = 0.0 constant maxValue (line 17) | maxValue = 1.0 type Bar (line 21) | type Bar method Format (line 26) | func (h Bar) Format(state fmt.State, r rune) { function main (line 74) | func main() { FILE: pkg/golinters/govet/testdata/govet_fieldalignment.go type gvfaGood (line 6) | type gvfaGood struct type gvfaBad (line 12) | type gvfaBad struct type gvfaPointerGood (line 18) | type gvfaPointerGood struct type gvfaPointerBad (line 23) | type gvfaPointerBad struct type gvfaPointerSorta (line 28) | type gvfaPointerSorta struct type gvfaPointerSortaBad (line 39) | type gvfaPointerSortaBad struct type gvfaZeroGood (line 50) | type gvfaZeroGood struct type gvfaZeroBad (line 55) | type gvfaZeroBad struct FILE: pkg/golinters/govet/testdata/govet_ifaceassert.go function GovetIfaceAssert (line 9) | func GovetIfaceAssert() { FILE: pkg/golinters/grouper/grouper.go function New (line 10) | func New(settings *config.GrouperSettings) *goanalysis.Linter { FILE: pkg/golinters/grouper/grouper_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/grouper/testdata/grouper.go function dummy (line 7) | func dummy() { fmt.Println("dummy") } FILE: pkg/golinters/grouper/testdata/grouper_cgo.go function _ (line 17) | func _() { FILE: pkg/golinters/iface/iface.go function New (line 16) | func New(settings *config.IfaceSettings) *goanalysis.Linter { function analyzersFromSettings (line 30) | func analyzersFromSettings(settings *config.IfaceSettings) []*analysis.A... function uniqueNames (line 56) | func uniqueNames(names []string) []string { FILE: pkg/golinters/iface/iface_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/iface/testdata/fix/in/iface.go type Pinger (line 10) | type Pinger interface type Healthcheck (line 14) | type Healthcheck interface type Server (line 20) | type Server interface type server (line 24) | type server struct method Serve (line 28) | func (s server) Serve() error { function NewServer (line 32) | func NewServer(addr string) Server { type User (line 38) | type User struct type UserRepository (line 43) | type UserRepository interface type UserRepositorySQL (line 47) | type UserRepositorySQL struct method UserOf (line 50) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 54) | type Granter interface function AllowAll (line 58) | func AllowAll(g Granter) error { type Allower (line 62) | type Allower interface function Allow (line 66) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/fix/out/iface.go type Server (line 12) | type Server interface type server (line 16) | type server struct method Serve (line 20) | func (s server) Serve() error { function NewServer (line 24) | func NewServer(addr string) *server { type User (line 30) | type User struct type UserRepositorySQL (line 35) | type UserRepositorySQL struct method UserOf (line 38) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 42) | type Granter interface function AllowAll (line 46) | func AllowAll(g Granter) error { type Allower (line 50) | type Allower interface function Allow (line 54) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/iface_all.go type Pinger (line 9) | type Pinger interface type Healthcheck (line 13) | type Healthcheck interface type Server (line 19) | type Server interface type server (line 23) | type server struct method Serve (line 27) | func (s server) Serve() error { function NewServer (line 31) | func NewServer(addr string) Server { // want "opaque: 'NewServer' functi... type User (line 37) | type User struct type UserRepository (line 42) | type UserRepository interface type UserRepositorySQL (line 46) | type UserRepositorySQL struct method UserOf (line 49) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 53) | type Granter interface function AllowAll (line 57) | func AllowAll(g Granter) error { type Allower (line 61) | type Allower interface function Allow (line 65) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/iface_cgo.go function _ (line 19) | func _() { type Pinger (line 27) | type Pinger interface type Healthcheck (line 31) | type Healthcheck interface type Server (line 37) | type Server interface type server (line 41) | type server struct method Serve (line 45) | func (s server) Serve() error { function NewServer (line 49) | func NewServer(addr string) Server { type User (line 55) | type User struct type UserRepository (line 60) | type UserRepository interface type UserRepositorySQL (line 64) | type UserRepositorySQL struct method UserOf (line 67) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 71) | type Granter interface function AllowAll (line 75) | func AllowAll(g Granter) error { type Allower (line 79) | type Allower interface function Allow (line 83) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/iface_default.go type Pinger (line 8) | type Pinger interface type Healthcheck (line 12) | type Healthcheck interface type Server (line 18) | type Server interface type server (line 22) | type server struct method Serve (line 26) | func (s server) Serve() error { function NewServer (line 30) | func NewServer(addr string) Server { type User (line 36) | type User struct type UserRepository (line 41) | type UserRepository interface type UserRepositorySQL (line 45) | type UserRepositorySQL struct method UserOf (line 48) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 52) | type Granter interface function AllowAll (line 56) | func AllowAll(g Granter) error { type Allower (line 60) | type Allower interface function Allow (line 64) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/iface_identical.go type Pinger (line 9) | type Pinger interface type Healthcheck (line 13) | type Healthcheck interface type Server (line 19) | type Server interface type server (line 23) | type server struct method Serve (line 27) | func (s server) Serve() error { function NewServer (line 31) | func NewServer(addr string) Server { type User (line 37) | type User struct type UserRepository (line 42) | type UserRepository interface type UserRepositorySQL (line 46) | type UserRepositorySQL struct method UserOf (line 49) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 53) | type Granter interface function AllowAll (line 57) | func AllowAll(g Granter) error { type Allower (line 61) | type Allower interface function Allow (line 65) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/iface_opaque.go type Pinger (line 9) | type Pinger interface type Healthcheck (line 13) | type Healthcheck interface type Server (line 19) | type Server interface type server (line 23) | type server struct method Serve (line 27) | func (s server) Serve() error { function NewServer (line 31) | func NewServer(addr string) Server { // want "opaque: 'NewServer' functi... type User (line 37) | type User struct type UserRepository (line 42) | type UserRepository interface type UserRepositorySQL (line 46) | type UserRepositorySQL struct method UserOf (line 49) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 53) | type Granter interface function AllowAll (line 57) | func AllowAll(g Granter) error { type Allower (line 61) | type Allower interface function Allow (line 65) | func Allow(x any) { FILE: pkg/golinters/iface/testdata/iface_unexported.go type Pinger (line 9) | type Pinger interface type Healthcheck (line 13) | type Healthcheck interface type Server (line 19) | type Server interface type server (line 23) | type server struct method Serve (line 27) | func (s server) Serve() error { function NewServer (line 31) | func NewServer(addr string) Server { type User (line 37) | type User struct type UserRepository (line 42) | type UserRepository interface type UserRepositorySQL (line 46) | type UserRepositorySQL struct method UserOf (line 49) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 53) | type Granter interface function AllowAll (line 57) | func AllowAll(g Granter) error { type Allower (line 61) | type Allower interface function Allow (line 65) | func Allow(x any) { type unexportedReader (line 72) | type unexportedReader interface function ReadAll (line 76) | func ReadAll(r unexportedReader) ([]byte, error) { // want "unexported i... function NewUnexportedReader (line 82) | func NewUnexportedReader() unexportedReader { // want "unexported interf... FILE: pkg/golinters/iface/testdata/iface_unused.go type Pinger (line 9) | type Pinger interface type Healthcheck (line 13) | type Healthcheck interface type Server (line 19) | type Server interface type server (line 23) | type server struct method Serve (line 27) | func (s server) Serve() error { function NewServer (line 31) | func NewServer(addr string) Server { type User (line 37) | type User struct type UserRepository (line 42) | type UserRepository interface type UserRepositorySQL (line 46) | type UserRepositorySQL struct method UserOf (line 49) | func (r *UserRepositorySQL) UserOf(id string) (*User, error) { type Granter (line 53) | type Granter interface function AllowAll (line 57) | func AllowAll(g Granter) error { type Allower (line 61) | type Allower interface function Allow (line 65) | func Allow(x any) { FILE: pkg/golinters/importas/importas.go function New (line 15) | func New(settings *config.ImportAsSettings) *goanalysis.Linter { FILE: pkg/golinters/importas/importas_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/importas/testdata/fix/in/importas.go function ImportAsWrongAlias (line 14) | func ImportAsWrongAlias() { FILE: pkg/golinters/importas/testdata/fix/out/importas.go function ImportAsWrongAlias (line 14) | func ImportAsWrongAlias() { FILE: pkg/golinters/importas/testdata/importas.go function ImportAsWrongAlias (line 13) | func ImportAsWrongAlias() { FILE: pkg/golinters/importas/testdata/importas_cgo.go function _ (line 24) | func _() { function _ (line 30) | func _() { FILE: pkg/golinters/importas/testdata/importas_several_empty_aliases.go function _ (line 12) | func _() { FILE: pkg/golinters/importas/testdata/importas_strict.go function ImportAsStrictWrongAlias (line 13) | func ImportAsStrictWrongAlias() { FILE: pkg/golinters/inamedparam/inamedparam.go function New (line 10) | func New(settings *config.INamedParamSettings) *goanalysis.Linter { FILE: pkg/golinters/inamedparam/inamedparam_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/inamedparam/testdata/inamedparam.go type tStruct (line 6) | type tStruct struct type Doer (line 10) | type Doer interface type NamedParam (line 14) | type NamedParam interface FILE: pkg/golinters/inamedparam/testdata/inamedparam_cgo.go function _ (line 19) | func _() { type tStruct (line 25) | type tStruct struct type Doer (line 29) | type Doer interface type NamedParam (line 33) | type NamedParam interface FILE: pkg/golinters/inamedparam/testdata/inamedparam_skip_single_param.go type NamedParam (line 7) | type NamedParam interface FILE: pkg/golinters/ineffassign/ineffassign.go function New (line 10) | func New(settings *config.IneffassignSettings) *goanalysis.Linter { FILE: pkg/golinters/ineffassign/ineffassign_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/ineffassign/testdata/ineffassign.go function _ (line 6) | func _() { FILE: pkg/golinters/ineffassign/testdata/ineffassign_cgo.go function _ (line 23) | func _() { function _ (line 29) | func _() { FILE: pkg/golinters/interfacebloat/interfacebloat.go function New (line 10) | func New(settings *config.InterfaceBloatSettings) *goanalysis.Linter { FILE: pkg/golinters/interfacebloat/interfacebloat_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/interfacebloat/testdata/interfacebloat.go type InterfaceBloatExample01 (line 6) | type InterfaceBloatExample01 interface function InterfaceBloatExample02 (line 20) | func InterfaceBloatExample02() { function InterfaceBloatExample03 (line 36) | func InterfaceBloatExample03() interface { // want "the interface has mo... type InterfaceBloatExample04 (line 52) | type InterfaceBloatExample04 struct type InterfaceBloatSmall01 (line 68) | type InterfaceBloatSmall01 interface type InterfaceBloatSmall02 (line 76) | type InterfaceBloatSmall02 interface type InterfaceBloatExample05 (line 85) | type InterfaceBloatExample05 interface type InterfaceBloatExample06 (line 90) | type InterfaceBloatExample06 interface type InterfaceBloatTypeGeneric (line 106) | type InterfaceBloatTypeGeneric interface function InterfaceBloatExampleNoProblem (line 113) | func InterfaceBloatExampleNoProblem() interface { FILE: pkg/golinters/interfacebloat/testdata/interfacebloat_cgo.go function _ (line 19) | func _() { type _ (line 25) | type _ interface FILE: pkg/golinters/internal/util.go function FormatCode (line 12) | func FormatCode(code string) string { function GetGoFileNames (line 20) | func GetGoFileNames(pass *analysis.Pass) []string { FILE: pkg/golinters/intrange/intrange.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/intrange/intrange_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/intrange/testdata/fix/in/intrange.go function CheckIntrange (line 9) | func CheckIntrange() { FILE: pkg/golinters/intrange/testdata/fix/out/intrange.go function CheckIntrange (line 9) | func CheckIntrange() { FILE: pkg/golinters/intrange/testdata/intrange.go function CheckIntrange (line 8) | func CheckIntrange() { FILE: pkg/golinters/intrange/testdata/intrange_cgo.go function _ (line 21) | func _() { function CheckIntrange (line 27) | func CheckIntrange() { FILE: pkg/golinters/iotamixing/iotamixing.go function New (line 11) | func New(settings *config.IotaMixingSettings) *goanalysis.Linter { FILE: pkg/golinters/iotamixing/iotamixing_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/iotamixing/testdata/iotamixing.go constant InvalidPerBlockIotaDeclAboveAnything (line 8) | InvalidPerBlockIotaDeclAboveAnything = "anything" constant InvalidPerBlockIotaDeclAboveNotZero (line 9) | InvalidPerBlockIotaDeclAboveNotZero = iota constant InvalidPerBlockIotaDeclAboveNotOne (line 10) | InvalidPerBlockIotaDeclAboveNotOne constant InvalidPerBlockIotaDeclAboveNotTwo (line 11) | InvalidPerBlockIotaDeclAboveNotTwo constant InvalidPerBlockIotaDeclBelowZero (line 16) | InvalidPerBlockIotaDeclBelowZero = iota constant InvalidPerBlockIotaDeclBelowOne (line 17) | InvalidPerBlockIotaDeclBelowOne constant InvalidPerBlockIotaDeclBelowTwo (line 18) | InvalidPerBlockIotaDeclBelowTwo constant InvalidPerBlockIotaDeclBelowAnything (line 19) | InvalidPerBlockIotaDeclBelowAnything = "anything" constant InvalidPerBlockIotaDeclBetweenZero (line 24) | InvalidPerBlockIotaDeclBetweenZero = iota constant InvalidPerBlockIotaDeclBetweenOne (line 25) | InvalidPerBlockIotaDeclBetweenOne constant InvalidPerBlockIotaDeclBetweenAnything (line 26) | InvalidPerBlockIotaDeclBetweenAnything = "anything" constant InvalidPerBlockIotaDeclBetweenNotTwo (line 27) | InvalidPerBlockIotaDeclBetweenNotTwo constant InvalidPerBlockIotaDeclMultipleAbove (line 32) | InvalidPerBlockIotaDeclMultipleAbove = "above" constant InvalidPerBlockIotaDeclMultipleNotZero (line 33) | InvalidPerBlockIotaDeclMultipleNotZero = iota constant InvalidPerBlockIotaDeclMultipleNotOne (line 34) | InvalidPerBlockIotaDeclMultipleNotOne constant InvalidPerBlockIotaDeclMultipleBetween (line 35) | InvalidPerBlockIotaDeclMultipleBetween = "between" constant InvalidPerBlockIotaDeclMultipleNotTwo (line 36) | InvalidPerBlockIotaDeclMultipleNotTwo constant InvalidPerBlockIotaDeclMultipleBelow (line 37) | InvalidPerBlockIotaDeclMultipleBelow = "below" constant ValidPerBlockIotaZero (line 42) | ValidPerBlockIotaZero = iota constant ValidPerBlockIotaOne (line 43) | ValidPerBlockIotaOne constant ValidPerBlockIotaTwo (line 44) | ValidPerBlockIotaTwo constant ValidPerBlockRegularSomething (line 49) | ValidPerBlockRegularSomething = "something" constant ValidPerBlockRegularAnything (line 50) | ValidPerBlockRegularAnything = "anything" function _ (line 53) | func _() { FILE: pkg/golinters/iotamixing/testdata/iotamixing_report-individual.go constant InvalidPerIndividualIotaDeclAboveAnything (line 8) | InvalidPerIndividualIotaDeclAboveAnything = "anything" constant InvalidPerIndividualIotaDeclAboveNotZero (line 9) | InvalidPerIndividualIotaDeclAboveNotZero = iota constant InvalidPerIndividualIotaDeclAboveNotOne (line 10) | InvalidPerIndividualIotaDeclAboveNotOne constant InvalidPerIndividualIotaDeclAboveNotTwo (line 11) | InvalidPerIndividualIotaDeclAboveNotTwo constant InvalidPerIndividualIotaDeclBelowZero (line 15) | InvalidPerIndividualIotaDeclBelowZero = iota constant InvalidPerIndividualIotaDeclBelowOne (line 16) | InvalidPerIndividualIotaDeclBelowOne constant InvalidPerIndividualIotaDeclBelowTwo (line 17) | InvalidPerIndividualIotaDeclBelowTwo constant InvalidPerIndividualIotaDeclBelowAnything (line 18) | InvalidPerIndividualIotaDeclBelowAnything = "anything" constant InvalidPerIndividualIotaDeclBetweenZero (line 22) | InvalidPerIndividualIotaDeclBetweenZero = iota constant InvalidPerIndividualIotaDeclBetweenOne (line 23) | InvalidPerIndividualIotaDeclBetweenOne constant InvalidPerIndividualIotaDeclBetweenAnything (line 24) | InvalidPerIndividualIotaDeclBetweenAnything = "anything" constant InvalidPerIndividualIotaDeclBetweenNotTwo (line 25) | InvalidPerIndividualIotaDeclBetweenNotTwo constant InvalidPerIndividualIotaDeclMultipleAbove (line 29) | InvalidPerIndividualIotaDeclMultipleAbove = "above" constant InvalidPerIndividualIotaDeclMultipleNotZero (line 30) | InvalidPerIndividualIotaDeclMultipleNotZero = iota constant InvalidPerIndividualIotaDeclMultipleNotOne (line 31) | InvalidPerIndividualIotaDeclMultipleNotOne constant InvalidPerIndividualIotaDeclMultipleBetween (line 32) | InvalidPerIndividualIotaDeclMultipleBetween = "between" constant InvalidPerIndividualIotaDeclMultipleNotTwo (line 33) | InvalidPerIndividualIotaDeclMultipleNotTwo constant InvalidPerIndividualIotaDeclMultipleBelow (line 34) | InvalidPerIndividualIotaDeclMultipleBelow = "below" constant ValidPerIndividualIotaZero (line 38) | ValidPerIndividualIotaZero = iota constant ValidPerIndividualIotaOne (line 39) | ValidPerIndividualIotaOne constant ValidPerIndividualIotaTwo (line 40) | ValidPerIndividualIotaTwo constant ValidPerIndividualRegularSomething (line 44) | ValidPerIndividualRegularSomething = "something" constant ValidPerIndividualRegularAnything (line 45) | ValidPerIndividualRegularAnything = "anything" function _ (line 48) | func _() { FILE: pkg/golinters/ireturn/ireturn.go function New (line 12) | func New(settings *config.IreturnSettings) *goanalysis.Linter { FILE: pkg/golinters/ireturn/ireturn_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/ireturn/testdata/ireturn.go type IreturnDoer (line 5) | type IreturnDoer interface type ireturnDoer (line 6) | type ireturnDoer struct method Do (line 10) | func (d *ireturnDoer) Do() { /*...*/ } function New (line 9) | func New() IreturnDoer { return new(ireturnDoer) } function Newer (line 12) | func Newer() *ireturnDoer { return new(ireturnDoer) } FILE: pkg/golinters/ireturn/testdata/ireturn_allow.go type IreturnAllowDoer (line 7) | type IreturnAllowDoer interface type ireturnAllowDoer (line 8) | type ireturnAllowDoer struct method Do (line 12) | func (d *ireturnAllowDoer) Do() { /*...*/ } function NewAllowDoer (line 11) | func NewAllowDoer() IreturnAllowDoer { return new(ireturnAllowDoer) } function NewerAllowDoer (line 14) | func NewerAllowDoer() *ireturnAllowDoer { return new(ireturnAllowDoer) } FILE: pkg/golinters/ireturn/testdata/ireturn_cgo.go function _ (line 18) | func _() { type IreturnDoer (line 25) | type IreturnDoer interface type ireturnDoer (line 26) | type ireturnDoer struct method Do (line 30) | func (d *ireturnDoer) Do() { /*...*/ } function _ (line 29) | func _() IreturnDoer { return new(ireturnDoer) } function _ (line 32) | func _() *ireturnDoer { return new(ireturnDoer) } FILE: pkg/golinters/ireturn/testdata/ireturn_reject_generics.go function NewWriter (line 10) | func NewWriter() io.Writer { function TestError (line 15) | func TestError() error { function Get (line 19) | func Get[K comparable, V int64 | float64](m map[K]V) V { // want `Get re... FILE: pkg/golinters/ireturn/testdata/ireturn_reject_stdlib.go function NewWriter (line 10) | func NewWriter() io.Writer { // want `NewWriter returns interface \(io.W... function TestError (line 15) | func TestError() error { type Foo (line 19) | type Foo interface type foo (line 22) | type foo method Foo (line 24) | func (f foo) Foo() {} function NewFoo (line 26) | func NewFoo() Foo { FILE: pkg/golinters/lll/lll.go constant goCommentDirectivePrefix (line 18) | goCommentDirectivePrefix = "//go:" function New (line 20) | func New(settings *config.LllSettings) *goanalysis.Linter { function runLll (line 37) | func runLll(pass *analysis.Pass, settings *config.LllSettings) error { function getLLLIssuesForFile (line 50) | func getLLLIssuesForFile(pass *analysis.Pass, file *ast.File, maxLineLen... FILE: pkg/golinters/lll/lll_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/lll/testdata/lll.go function Lll (line 9) | func Lll() { type MyLllInterface (line 15) | type MyLllInterface interface function VeryLongNameForTestAndLinkNameFunction (line 19) | func VeryLongNameForTestAndLinkNameFunction() function VeryLongNameForTestAndLinkedNameFunction (line 21) | func VeryLongNameForTestAndLinkedNameFunction() {} FILE: pkg/golinters/lll/testdata/lll_cgo.go function _ (line 22) | func _() { FILE: pkg/golinters/lll/testdata/lll_import_multi.go function LllMultiImport (line 11) | func LllMultiImport() { FILE: pkg/golinters/lll/testdata/lll_import_single.go function LllSingleImport (line 8) | func LllSingleImport() { FILE: pkg/golinters/lll/testdata/lll_max_scan_token_size_cgo.go function _ (line 19) | func _() { FILE: pkg/golinters/loggercheck/loggercheck.go function New (line 10) | func New(settings *config.LoggerCheckSettings) *goanalysis.Linter { FILE: pkg/golinters/loggercheck/loggercheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/loggercheck/testdata/loggercheck_cgo.go function _ (line 24) | func _() { function ExampleDefaultLogr (line 30) | func ExampleDefaultLogr() { function ExampleDefaultKlog (line 38) | func ExampleDefaultKlog() { function ExampleZapSugarNotChecked (line 42) | func ExampleZapSugarNotChecked() { function ExampleSlog (line 48) | func ExampleSlog() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_custom.go type Logger (line 13) | type Logger struct method With (line 22) | func (l *Logger) With(keysAndValues ...interface{}) *Logger { method Debugw (line 28) | func (l *Logger) Debugw(msg string, keysAndValues ...interface{}) { method Infow (line 32) | func (l *Logger) Infow(msg string, keysAndValues ...interface{}) { method Warnw (line 36) | func (l *Logger) Warnw(msg string, keysAndValues ...interface{}) { method Errorw (line 40) | func (l *Logger) Errorw(msg string, keysAndValues ...interface{}) { method Fatalw (line 44) | func (l *Logger) Fatalw(msg string, keysAndValues ...interface{}) { method Sync (line 48) | func (l *Logger) Sync() error { function New (line 17) | func New() *Logger { function With (line 54) | func With(keysAndValues ...interface{}) *Logger { function Debugw (line 60) | func Debugw(msg string, keysAndValues ...interface{}) { function Infow (line 64) | func Infow(msg string, keysAndValues ...interface{}) { function Warnw (line 68) | func Warnw(msg string, keysAndValues ...interface{}) { function Errorw (line 72) | func Errorw(msg string, keysAndValues ...interface{}) { function Fatalw (line 76) | func Fatalw(msg string, keysAndValues ...interface{}) { function Sync (line 80) | func Sync() error { function ExampleCustomLogger (line 84) | func ExampleCustomLogger() { function ExampleCustomLoggerPackageLevelFunc (line 103) | func ExampleCustomLoggerPackageLevelFunc() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_default.go function ExampleDefaultLogr (line 13) | func ExampleDefaultLogr() { function ExampleDefaultKlog (line 21) | func ExampleDefaultKlog() { function ExampleZapSugarNotChecked (line 25) | func ExampleZapSugarNotChecked() { function ExampleSlog (line 31) | func ExampleSlog() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_kitlogonly.go function ExampleKitLogOnly_NoLogr (line 12) | func ExampleKitLogOnly_NoLogr() { function ExampleKitLogOnly (line 22) | func ExampleKitLogOnly() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_logronly.go function ExampleLogrOnly (line 13) | func ExampleLogrOnly() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_noprintflike.go function ExampleNoPrintfLike (line 9) | func ExampleNoPrintfLike() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_requirestringkey.go function ExampleRequireStringKey (line 9) | func ExampleRequireStringKey() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_slogonly.go function ExampleSlogOnly (line 7) | func ExampleSlogOnly() { FILE: pkg/golinters/loggercheck/testdata/loggercheck_zaponly.go function ExampleZapOnly (line 7) | func ExampleZapOnly() { FILE: pkg/golinters/maintidx/maintidx.go function New (line 10) | func New(settings *config.MaintIdxSettings) *goanalysis.Linter { FILE: pkg/golinters/maintidx/maintidx_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/maintidx/testdata/maintidx.go function over20 (line 4) | func over20() { function under20 (line 7) | func under20() { // want "Function name: under20, Cyclomatic Complexity:... FILE: pkg/golinters/maintidx/testdata/maintidx_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { // want "Function name: _, Cyclomatic Complexity: 77, Halstea... FILE: pkg/golinters/maintidx/testdata/maintidx_under_100.go function over20 (line 5) | func over20() { // want "Function name: over20, Cyclomatic Complexity: 1... function under20 (line 8) | func under20() { // want "Function name: under20, Cyclomatic Complexity:... FILE: pkg/golinters/makezero/makezero.go function New (line 13) | func New(settings *config.MakezeroSettings) *goanalysis.Linter { function runMakeZero (line 30) | func runMakeZero(pass *analysis.Pass, settings *config.MakezeroSettings)... FILE: pkg/golinters/makezero/makezero_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/makezero/testdata/makezero.go function Makezero (line 6) | func Makezero() []int { function MakezeroMultiple (line 11) | func MakezeroMultiple() []int { function MakezeroNolint (line 17) | func MakezeroNolint() []int { FILE: pkg/golinters/makezero/testdata/makezero_always.go function MakezeroAlways (line 7) | func MakezeroAlways() []int { function MakezeroAlwaysNolint (line 12) | func MakezeroAlwaysNolint() []int { FILE: pkg/golinters/makezero/testdata/makezero_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() []int { FILE: pkg/golinters/mirror/mirror.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/mirror/mirror_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/mirror/testdata/fix/in/mirror.go function foobar (line 9) | func foobar() { FILE: pkg/golinters/mirror/testdata/fix/out/mirror.go function foobar (line 9) | func foobar() { FILE: pkg/golinters/mirror/testdata/mirror.go function foobar (line 9) | func foobar() { FILE: pkg/golinters/mirror/testdata/mirror_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _() { FILE: pkg/golinters/misspell/misspell.go constant linterName (line 18) | linterName = "misspell" function New (line 20) | func New(settings *config.MisspellSettings) *goanalysis.Linter { function createMisspellReplacer (line 44) | func createMisspellReplacer(settings *config.MisspellSettings) (*misspel... function runMisspellOnFile (line 76) | func runMisspellOnFile(pass *analysis.Pass, file *ast.File, replacer *mi... function appendExtraWords (line 127) | func appendExtraWords(replacer *misspell.Replacer, extraWords []config.M... FILE: pkg/golinters/misspell/misspell_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/misspell/misspell_test.go function Test_appendExtraWords (line 13) | func Test_appendExtraWords(t *testing.T) { function Test_appendExtraWords_error (line 35) | func Test_appendExtraWords_error(t *testing.T) { FILE: pkg/golinters/misspell/testdata/fix/in/misspell.go function langaugeMisspell (line 15) | func langaugeMisspell() { FILE: pkg/golinters/misspell/testdata/fix/out/misspell.go function langaugeMisspell (line 15) | func langaugeMisspell() { FILE: pkg/golinters/misspell/testdata/misspell.go function Misspell (line 5) | func Misspell() { FILE: pkg/golinters/misspell/testdata/misspell_cgo.go function _ (line 20) | func _() { function Misspell (line 26) | func Misspell() { function _ (line 33) | func _() error { FILE: pkg/golinters/misspell/testdata/misspell_custom.go function Misspell (line 5) | func Misspell() { FILE: pkg/golinters/mnd/mnd.go function New (line 10) | func New(settings *config.MndSettings) *goanalysis.Linter { FILE: pkg/golinters/mnd/mnd_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/mnd/testdata/mnd.go function UseMagicNumber (line 10) | func UseMagicNumber() { function UseNoMagicNumber (line 25) | func UseNoMagicNumber() { FILE: pkg/golinters/mnd/testdata/mnd_cgo.go function _ (line 21) | func _() { function _ (line 27) | func _() { FILE: pkg/golinters/mnd/testdata/mnd_custom.go function Mnd (line 12) | func Mnd() { FILE: pkg/golinters/modernize/modernize.go function New (line 13) | func New(settings *config.ModernizeSettings) *goanalysis.Linter { FILE: pkg/golinters/modernize/modernize_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/modernize/testdata/fix/in/any.go function _ (line 5) | func _(x interface{}) {} function _ (line 7) | func _() { FILE: pkg/golinters/modernize/testdata/fix/in/fieldsseq.go function _ (line 10) | func _() { FILE: pkg/golinters/modernize/testdata/fix/in/fmtappendf.go function two (line 9) | func two() string { function bye (line 13) | func bye() { function funcsandvars (line 17) | func funcsandvars() { function typealias (line 22) | func typealias() { function otherprints (line 29) | func otherprints() { function comma (line 34) | func comma() { FILE: pkg/golinters/modernize/testdata/fix/in/forvar.go function _ (line 5) | func _(m map[int]int, s []int) { function f (line 91) | func f(n int) {} FILE: pkg/golinters/modernize/testdata/fix/in/mapsloop.go type M (line 12) | type M function useCopy (line 16) | func useCopy(dst, src map[int]string) { function useCopyGeneric (line 24) | func useCopyGeneric[K comparable, V any, M ~map[K]V](dst, src M) { function useCopyNotClone (line 32) | func useCopyNotClone(src map[int]string) { function useCopyParen (line 54) | func useCopyParen(src map[int]string) { function useCopy_typesDiffer (line 70) | func useCopy_typesDiffer(src M) { function useCopy_typesDiffer2 (line 79) | func useCopy_typesDiffer2(src map[int]string) { function useClone_typesDiffer3 (line 88) | func useClone_typesDiffer3(src map[int]string) { function useClone_typesDiffer4 (line 101) | func useClone_typesDiffer4(src map[int]string) { function useClone_generic (line 114) | func useClone_generic[Map ~map[K]V, K comparable, V any](src Map) { function useInsert_assignableToSeq2 (line 127) | func useInsert_assignableToSeq2(dst map[int]string, src func(yield func(... function useCollect (line 134) | func useCollect(src iter.Seq2[int, string]) { function useInsert_typesDifferAssign (line 145) | func useInsert_typesDifferAssign(src iter.Seq2[int, string]) { function useInsert_typesDifferDeclare (line 157) | func useInsert_typesDifferDeclare(src iter.Seq2[int, string]) { type isomerOfSeq2 (line 168) | type isomerOfSeq2 function nopeInsertRequiresAssignableToSeq2 (line 170) | func nopeInsertRequiresAssignableToSeq2(dst map[int]string, src isomerOf... function nopeSingleVarRange (line 176) | func nopeSingleVarRange(dst map[int]bool, src map[int]string) { function nopeBodyNotASingleton (line 182) | func nopeBodyNotASingleton(src map[int]string) { function nopeAssignmentHasIncrementOperator (line 191) | func nopeAssignmentHasIncrementOperator(src map[int]int) { function nopeNotAMap (line 198) | func nopeNotAMap(src map[int]string) { function nopeNotAMapGeneric (line 205) | func nopeNotAMapGeneric[E any, M ~map[int]E, S ~[]E](src M) { function nopeHasImplicitWidening (line 212) | func nopeHasImplicitWidening(src map[string]int) { FILE: pkg/golinters/modernize/testdata/fix/in/mapsloop_dot.go type M (line 9) | type M function useCopyDot (line 11) | func useCopyDot(dst, src map[int]string) { function useCloneDot (line 18) | func useCloneDot(src map[int]string) { FILE: pkg/golinters/modernize/testdata/fix/in/minmax.go function ifmin (line 5) | func ifmin(a, b int) { function ifmax (line 16) | func ifmax(a, b int) { function ifminvariant (line 24) | func ifminvariant(a, b int) { function ifmaxvariant (line 32) | func ifmaxvariant(a, b int) { function ifelsemin (line 40) | func ifelsemin(a, b int) { function ifelsemax (line 55) | func ifelsemax(a, b int) { function shadowed (line 70) | func shadowed() int { function nopeIfStmtHasInitStmt (line 82) | func nopeIfStmtHasInitStmt() { function oops (line 91) | func oops() { function nopeAssignHasIncrementOperator (line 101) | func nopeAssignHasIncrementOperator() { function nopeNotAMinimum (line 112) | func nopeNotAMinimum(x, y int) int { function nopeHasElseBlock (line 123) | func nopeHasElseBlock(x int) int { function fix72727 (line 134) | func fix72727(a, b int) { type myfloat (line 142) | type myfloat function nopeFloat (line 146) | func nopeFloat(a, b myfloat) (res myfloat) { function underscoreAssign (line 156) | func underscoreAssign(a, b int) { function nopeIfElseIf (line 163) | func nopeIfElseIf(a int) int { FILE: pkg/golinters/modernize/testdata/fix/in/rangeint.go function _ (line 10) | func _(i int, s struct{ i int }, slice []int) { function f (line 148) | func f() int { return 0 } function _ (line 151) | func _(s string) { function nopePostconditionDiffers (line 163) | func nopePostconditionDiffers() { function issue71847d (line 172) | func issue71847d() { function issue72726 (line 186) | func issue72726() { function todo (line 207) | func todo() { type T (line 213) | type T function Fn (line 216) | func Fn(a int) T { function issue73037 (line 220) | func issue73037() { function issue75289 (line 239) | func issue75289() { FILE: pkg/golinters/modernize/testdata/fix/in/slicescontains.go function nopeNoBreak (line 9) | func nopeNoBreak(slice []int, needle int) { function rangeIndex (line 17) | func rangeIndex(slice []int, needle int) { function rangeValue (line 26) | func rangeValue(slice []int, needle int) { function returns (line 35) | func returns(slice []int, needle int) { function assignTrueBreak (line 44) | func assignTrueBreak(slice []int, needle int) { function assignFalseBreak (line 55) | func assignFalseBreak(slice []int, needle int) { function assignFalseBreakInSelectSwitch (line 66) | func assignFalseBreakInSelectSwitch(slice []int, needle int) { function returnTrue (line 92) | func returnTrue(slice []int, needle int) bool { function returnFalse (line 101) | func returnFalse(slice []int, needle int) bool { function containsFunc (line 110) | func containsFunc(slice []int, needle int) bool { function nopeLoopBodyHasFreeContinuation (line 119) | func nopeLoopBodyHasFreeContinuation(slice []int, needle int) bool { function generic (line 131) | func generic[T any](slice []T, f func(T) bool) bool { function predicate (line 140) | func predicate(int) bool function nopeNeedleHaystackDifferentTypes (line 145) | func nopeNeedleHaystackDifferentTypes(x any, args []error) { function nopeNeedleHaystackDifferentTypes2 (line 153) | func nopeNeedleHaystackDifferentTypes2(x error, args []any) { function nopeVariadicNamedContainsFunc (line 161) | func nopeVariadicNamedContainsFunc(slice []int) bool { function variadicPredicate (line 170) | func variadicPredicate(int, ...any) bool function nopeVariadicContainsFunc (line 172) | func nopeVariadicContainsFunc(slice []int) bool { type I (line 185) | type I interface type C (line 186) | type C method F (line 188) | func (C) F() {} function nopeImplicitConversionContainsFunc (line 190) | func nopeImplicitConversionContainsFunc(slice []C, f func(I) bool) bool { function nopeTypeParamWidening (line 199) | func nopeTypeParamWidening[T any](slice []T, f func(any) bool) bool { FILE: pkg/golinters/modernize/testdata/fix/in/slicessort.go type myint (line 7) | type myint function _ (line 9) | func _(s []myint) { function _ (line 13) | func _(x *struct{ s []int }) { function _ (line 17) | func _(s []int) { function _ (line 21) | func _(s []int) { function _ (line 25) | func _(sense bool, s2 []struct{ x int }) { FILE: pkg/golinters/modernize/testdata/fix/in/splitseq.go function _ (line 10) | func _() { FILE: pkg/golinters/modernize/testdata/fix/in/stditerators.go function _ (line 7) | func _(tuple *types.Tuple) { function _ (line 13) | func _(scope *types.Scope) { function _ (line 43) | func _(union, union2 *types.Union) { FILE: pkg/golinters/modernize/testdata/fix/in/stringsbuilder.go function _ (line 6) | func _() { function _ (line 18) | func _() { function _ (line 27) | func _() { function _ (line 36) | func _() { function _ (line 45) | func _() { function _ (line 54) | func _() { function _ (line 63) | func _() { function _ (line 73) | func _() { function _ (line 85) | func _(x string) string { function issue75318 (line 95) | func issue75318(slice []string) string { FILE: pkg/golinters/modernize/testdata/fix/in/stringscutprefix.go function _ (line 14) | func _() { function _ (line 45) | func _() { function _ (line 56) | func _() { function _ (line 82) | func _() { function _ (line 92) | func _() { function _ (line 139) | func _() { function _ (line 149) | func _() { function _ (line 162) | func _() { FILE: pkg/golinters/modernize/testdata/fix/in/testingcontext_test.go function Test (line 10) | func Test(t *testing.T) { function TestAlt (line 51) | func TestAlt(t2 *testing.T) { function Testnot (line 57) | func Testnot(t *testing.T) { function Benchmark (line 63) | func Benchmark(b *testing.B) { function Fuzz (line 75) | func Fuzz(f *testing.F) { FILE: pkg/golinters/modernize/testdata/fix/in/waitgroup.go function _ (line 13) | func _() { function _ (line 36) | func _() { function _ (line 59) | func _() { function _ (line 84) | func _() { function _ (line 131) | func _() { type Server (line 158) | type Server struct type ServerContainer (line 162) | type ServerContainer struct function _ (line 166) | func _() { FILE: pkg/golinters/modernize/testdata/fix/out/any.go function _ (line 5) | func _(x any) {} function _ (line 7) | func _() { FILE: pkg/golinters/modernize/testdata/fix/out/fieldsseq.go function _ (line 10) | func _() { FILE: pkg/golinters/modernize/testdata/fix/out/fmtappendf.go function two (line 9) | func two() string { function bye (line 13) | func bye() { function funcsandvars (line 17) | func funcsandvars() { function typealias (line 22) | func typealias() { function otherprints (line 29) | func otherprints() { function comma (line 34) | func comma() { FILE: pkg/golinters/modernize/testdata/fix/out/forvar.go function _ (line 5) | func _(m map[int]int, s []int) { function f (line 82) | func f(n int) {} FILE: pkg/golinters/modernize/testdata/fix/out/mapsloop.go type M (line 12) | type M function useCopy (line 16) | func useCopy(dst, src map[int]string) { function useCopyGeneric (line 23) | func useCopyGeneric[K comparable, V any, M ~map[K]V](dst, src M) { function useCopyNotClone (line 30) | func useCopyNotClone(src map[int]string) { function useCopyParen (line 50) | func useCopyParen(src map[int]string) { function useCopy_typesDiffer (line 64) | func useCopy_typesDiffer(src M) { function useCopy_typesDiffer2 (line 72) | func useCopy_typesDiffer2(src map[int]string) { function useClone_typesDiffer3 (line 80) | func useClone_typesDiffer3(src map[int]string) { function useClone_typesDiffer4 (line 92) | func useClone_typesDiffer4(src map[int]string) { function useClone_generic (line 104) | func useClone_generic[Map ~map[K]V, K comparable, V any](src Map) { function useInsert_assignableToSeq2 (line 116) | func useInsert_assignableToSeq2(dst map[int]string, src func(yield func(... function useCollect (line 122) | func useCollect(src iter.Seq2[int, string]) { function useInsert_typesDifferAssign (line 132) | func useInsert_typesDifferAssign(src iter.Seq2[int, string]) { function useInsert_typesDifferDeclare (line 142) | func useInsert_typesDifferDeclare(src iter.Seq2[int, string]) { type isomerOfSeq2 (line 152) | type isomerOfSeq2 function nopeInsertRequiresAssignableToSeq2 (line 154) | func nopeInsertRequiresAssignableToSeq2(dst map[int]string, src isomerOf... function nopeSingleVarRange (line 160) | func nopeSingleVarRange(dst map[int]bool, src map[int]string) { function nopeBodyNotASingleton (line 166) | func nopeBodyNotASingleton(src map[int]string) { function nopeAssignmentHasIncrementOperator (line 175) | func nopeAssignmentHasIncrementOperator(src map[int]int) { function nopeNotAMap (line 182) | func nopeNotAMap(src map[int]string) { function nopeNotAMapGeneric (line 189) | func nopeNotAMapGeneric[E any, M ~map[int]E, S ~[]E](src M) { function nopeHasImplicitWidening (line 196) | func nopeHasImplicitWidening(src map[string]int) { FILE: pkg/golinters/modernize/testdata/fix/out/mapsloop_dot.go type M (line 9) | type M function useCopyDot (line 11) | func useCopyDot(dst, src map[int]string) { function useCloneDot (line 17) | func useCloneDot(src map[int]string) { FILE: pkg/golinters/modernize/testdata/fix/out/minmax.go function ifmin (line 5) | func ifmin(a, b int) { function ifmax (line 18) | func ifmax(a, b int) { function ifminvariant (line 25) | func ifminvariant(a, b int) { function ifmaxvariant (line 32) | func ifmaxvariant(a, b int) { function ifelsemin (line 39) | func ifelsemin(a, b int) { function ifelsemax (line 55) | func ifelsemax(a, b int) { function shadowed (line 70) | func shadowed() int { function nopeIfStmtHasInitStmt (line 82) | func nopeIfStmtHasInitStmt() { function oops (line 91) | func oops() { function nopeAssignHasIncrementOperator (line 100) | func nopeAssignHasIncrementOperator() { function nopeNotAMinimum (line 111) | func nopeNotAMinimum(x, y int) int { function nopeHasElseBlock (line 122) | func nopeHasElseBlock(x int) int { function fix72727 (line 133) | func fix72727(a, b int) { type myfloat (line 141) | type myfloat function nopeFloat (line 145) | func nopeFloat(a, b myfloat) (res myfloat) { function underscoreAssign (line 155) | func underscoreAssign(a, b int) { function nopeIfElseIf (line 162) | func nopeIfElseIf(a int) int { FILE: pkg/golinters/modernize/testdata/fix/out/rangeint.go function _ (line 10) | func _(i int, s struct{ i int }, slice []int) { function f (line 148) | func f() int { return 0 } function _ (line 151) | func _(s string) { function nopePostconditionDiffers (line 163) | func nopePostconditionDiffers() { function issue71847d (line 172) | func issue71847d() { function issue72726 (line 186) | func issue72726() { function todo (line 207) | func todo() { type T (line 213) | type T function Fn (line 216) | func Fn(a int) T { function issue73037 (line 220) | func issue73037() { function issue75289 (line 239) | func issue75289() { FILE: pkg/golinters/modernize/testdata/fix/out/slicescontains.go function nopeNoBreak (line 9) | func nopeNoBreak(slice []int, needle int) { function rangeIndex (line 17) | func rangeIndex(slice []int, needle int) { function rangeValue (line 23) | func rangeValue(slice []int, needle int) { function returns (line 29) | func returns(slice []int, needle int) { function assignTrueBreak (line 36) | func assignTrueBreak(slice []int, needle int) { function assignFalseBreak (line 41) | func assignFalseBreak(slice []int, needle int) { function assignFalseBreakInSelectSwitch (line 46) | func assignFalseBreakInSelectSwitch(slice []int, needle int) { function returnTrue (line 60) | func returnTrue(slice []int, needle int) bool { function returnFalse (line 64) | func returnFalse(slice []int, needle int) bool { function containsFunc (line 68) | func containsFunc(slice []int, needle int) bool { function nopeLoopBodyHasFreeContinuation (line 72) | func nopeLoopBodyHasFreeContinuation(slice []int, needle int) bool { function generic (line 84) | func generic[T any](slice []T, f func(T) bool) bool { function predicate (line 88) | func predicate(int) bool function nopeNeedleHaystackDifferentTypes (line 93) | func nopeNeedleHaystackDifferentTypes(x any, args []error) { function nopeNeedleHaystackDifferentTypes2 (line 101) | func nopeNeedleHaystackDifferentTypes2(x error, args []any) { function nopeVariadicNamedContainsFunc (line 109) | func nopeVariadicNamedContainsFunc(slice []int) bool { function variadicPredicate (line 118) | func variadicPredicate(int, ...any) bool function nopeVariadicContainsFunc (line 120) | func nopeVariadicContainsFunc(slice []int) bool { type I (line 133) | type I interface type C (line 134) | type C method F (line 136) | func (C) F() {} function nopeImplicitConversionContainsFunc (line 138) | func nopeImplicitConversionContainsFunc(slice []C, f func(I) bool) bool { function nopeTypeParamWidening (line 147) | func nopeTypeParamWidening[T any](slice []T, f func(any) bool) bool { FILE: pkg/golinters/modernize/testdata/fix/out/slicessort.go type myint (line 9) | type myint function _ (line 11) | func _(s []myint) { function _ (line 15) | func _(x *struct{ s []int }) { function _ (line 19) | func _(s []int) { function _ (line 23) | func _(s []int) { function _ (line 27) | func _(sense bool, s2 []struct{ x int }) { FILE: pkg/golinters/modernize/testdata/fix/out/splitseq.go function _ (line 10) | func _() { FILE: pkg/golinters/modernize/testdata/fix/out/stditerators.go function _ (line 7) | func _(tuple *types.Tuple) { function _ (line 13) | func _(scope *types.Scope) { function _ (line 43) | func _(union, union2 *types.Union) { FILE: pkg/golinters/modernize/testdata/fix/out/stringsbuilder.go function _ (line 8) | func _() { function _ (line 20) | func _() { function _ (line 30) | func _() { function _ (line 39) | func _() { function _ (line 49) | func _() { function _ (line 58) | func _() { function _ (line 67) | func _() { function _ (line 77) | func _() { function _ (line 90) | func _(x string) string { function issue75318 (line 100) | func issue75318(slice []string) string { FILE: pkg/golinters/modernize/testdata/fix/out/stringscutprefix.go function _ (line 14) | func _() { function _ (line 45) | func _() { function _ (line 56) | func _() { function _ (line 82) | func _() { function _ (line 92) | func _() { function _ (line 139) | func _() { function _ (line 149) | func _() { function _ (line 162) | func _() { FILE: pkg/golinters/modernize/testdata/fix/out/testingcontext_test.go function Test (line 10) | func Test(t *testing.T) { function TestAlt (line 48) | func TestAlt(t2 *testing.T) { function Testnot (line 53) | func Testnot(t *testing.T) { function Benchmark (line 59) | func Benchmark(b *testing.B) { function Fuzz (line 69) | func Fuzz(f *testing.F) { FILE: pkg/golinters/modernize/testdata/fix/out/waitgroup.go function _ (line 13) | func _() { function _ (line 30) | func _() { function _ (line 47) | func _() { function _ (line 66) | func _() { function _ (line 113) | func _() { type Server (line 140) | type Server struct type ServerContainer (line 144) | type ServerContainer struct function _ (line 148) | func _() { FILE: pkg/golinters/modernize/testdata/modernize_any.go function _ (line 4) | func _(x interface{}) {} function _ (line 6) | func _() { FILE: pkg/golinters/modernize/testdata/modernize_custom.go function _ (line 6) | func _(x interface{}) {} function _ (line 8) | func _() { FILE: pkg/golinters/musttag/musttag.go function New (line 10) | func New(settings *config.MustTagSettings) *goanalysis.Linter { FILE: pkg/golinters/musttag/musttag_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/musttag/testdata/musttag.go function musttagJSON (line 10) | func musttagJSON() { function musttagASN1 (line 19) | func musttagASN1() { FILE: pkg/golinters/musttag/testdata/musttag_cgo.go function _ (line 20) | func _() { function _ (line 27) | func _() { function _ (line 36) | func _() { FILE: pkg/golinters/musttag/testdata/musttag_custom.go function musttagJSONCustom (line 11) | func musttagJSONCustom() { function musttagASN1Custom (line 20) | func musttagASN1Custom() { FILE: pkg/golinters/nakedret/nakedret.go function New (line 10) | func New(settings *config.NakedretSettings) *goanalysis.Linter { FILE: pkg/golinters/nakedret/nakedret_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/nakedret/testdata/fix/in/nakedret.go function NakedretIssue (line 7) | func NakedretIssue() (a int, b string) { function NoNakedretIssue (line 42) | func NoNakedretIssue() (a int, b string) { FILE: pkg/golinters/nakedret/testdata/fix/out/nakedret.go function NakedretIssue (line 7) | func NakedretIssue() (a int, b string) { function NoNakedretIssue (line 42) | func NoNakedretIssue() (a int, b string) { FILE: pkg/golinters/nakedret/testdata/nakedret.go function NakedretIssue (line 6) | func NakedretIssue() (a int, b string) { function NoNakedretIssue (line 41) | func NoNakedretIssue() (a int, b string) { FILE: pkg/golinters/nakedret/testdata/nakedret_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() (a int, b string) { FILE: pkg/golinters/nestif/nestif.go function New (line 11) | func New(settings *config.NestifSettings) *goanalysis.Linter { function runNestIf (line 25) | func runNestIf(pass *analysis.Pass, settings *config.NestifSettings) { FILE: pkg/golinters/nestif/nestif_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/nestif/testdata/nestif.go function _ (line 5) | func _() { FILE: pkg/golinters/nestif/testdata/nestif_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _() { FILE: pkg/golinters/nilerr/nilerr.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/nilerr/nilerr_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/nilerr/testdata/nilerr.go function nilErr1 (line 6) | func nilErr1() error { function nilErr2 (line 15) | func nilErr2() error { function nilErr3 (line 24) | func nilErr3() error { function nilErrDo (line 33) | func nilErrDo() error { function l (line 37) | func l() error { FILE: pkg/golinters/nilerr/testdata/nilerr_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() error { function nilErrDo (line 34) | func nilErrDo() error { FILE: pkg/golinters/nilnesserr/nilnesserr.go function New (line 10) | func New() *goanalysis.Linter { FILE: pkg/golinters/nilnesserr/nilnesserr_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/nilnesserr/testdata/nilnesserr.go function do (line 6) | func do() error { function do2 (line 10) | func do2() error { function someCall (line 14) | func someCall() error { function sameCall2 (line 26) | func sameCall2() error { FILE: pkg/golinters/nilnesserr/testdata/nilnesserr_cgo.go function _ (line 19) | func _() { function do (line 25) | func do() error { function do2 (line 29) | func do2() error { function someCall (line 33) | func someCall() error { function sameCall2 (line 45) | func sameCall2() error { FILE: pkg/golinters/nilnil/nilnil.go function New (line 10) | func New(settings *config.NilNilSettings) *goanalysis.Linter { FILE: pkg/golinters/nilnil/nilnil_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/nilnil/testdata/nilnil.go type User (line 16) | type User struct function primitivePtr (line 18) | func primitivePtr() (*int, error) { function structPtr (line 22) | func structPtr() (*User, error) { function emptyStructPtr (line 26) | func emptyStructPtr() (*struct{}, error) { function anonymousStructPtr (line 30) | func anonymousStructPtr() (*struct{ ID string }, error) { function unsafePtr (line 34) | func unsafePtr() (unsafe.Pointer, error) { function uintPtr (line 38) | func uintPtr() (uintptr, error) { function uintPtr0b (line 42) | func uintPtr0b() (uintptr, error) { function uintPtr0x (line 46) | func uintPtr0x() (uintptr, error) { function uintPtr0o (line 50) | func uintPtr0o() (uintptr, error) { function chBi (line 54) | func chBi() (chan int, error) { function chIn (line 58) | func chIn() (chan<- int, error) { function chOut (line 62) | func chOut() (<-chan int, error) { function fun (line 66) | func fun() (func(), error) { function funWithArgsAndResults (line 70) | func funWithArgsAndResults() (func(a, b, c int) (int, int), error) { function iface (line 74) | func iface() (interface{}, error) { function anyType (line 78) | func anyType() (any, error) { function m1 (line 82) | func m1() (map[int]int, error) { function m2 (line 86) | func m2() (map[int]*User, error) { function m3 (line 92) | func m3() (mapAlias, error) { type Storage (line 96) | type Storage struct method GetUser (line 98) | func (s *Storage) GetUser() (*User, error) { function ifReturn (line 102) | func ifReturn() (*User, error) { function forReturn (line 110) | func forReturn() (*User, error) { function multipleReturn (line 116) | func multipleReturn() (*User, error) { function nested (line 134) | func nested() { function deeplyNested (line 144) | func deeplyNested() { type MyError (line 159) | type MyError interface function myError (line 164) | func myError() (*User, MyError) { function structPtrTypeExtPkg (line 170) | func structPtrTypeExtPkg() (*os.File, error) { function primitivePtrTypeExtPkg (line 174) | func primitivePtrTypeExtPkg() (*token.Token, error) { function funcTypeExtPkg (line 178) | func funcTypeExtPkg() (http.HandlerFunc, error) { function ifaceTypeExtPkg (line 182) | func ifaceTypeExtPkg() (io.Closer, error) { function ifaceTypeAliasedExtPkg (line 188) | func ifaceTypeAliasedExtPkg() (closerAlias, error) { type StructPtrType (line 193) | type StructPtrType type PrimitivePtrType (line 194) | type PrimitivePtrType type ChannelType (line 195) | type ChannelType type FuncType (line 196) | type FuncType type Checker (line 197) | type Checker interface function structPtrType (line 200) | func structPtrType() (StructPtrType, error) { function primitivePtrType (line 204) | func primitivePtrType() (PrimitivePtrType, error) { function channelType (line 208) | func channelType() (ChannelType, error) { function funcType (line 212) | func funcType() (FuncType, error) { function ifaceType (line 216) | func ifaceType() (Checker, error) { function ifaceTypeAliased (line 222) | func ifaceTypeAliased() (checkerAlias, error) { type IntegerType (line 227) | type IntegerType type PtrIntegerType (line 228) | type PtrIntegerType function ptrIntegerType (line 231) | func ptrIntegerType() (PtrIntegerType, error) { function withoutArgs (line 237) | func withoutArgs() {} function withoutError1 (line 238) | func withoutError1() *User { return nil } function withoutError2 (line 239) | func withoutError2() (*User, *User) { return nil, nil } function withoutError3 (line 240) | func withoutError3() (*User, *User, *User) { return nil, nil, nil } function withoutError4 (line 241) | func withoutError4() (*User, *User, *User, *User) { return nil, nil, nil... function invalidOrder (line 243) | func invalidOrder() (error, *User) { return nil, nil } function withError3rd (line 244) | func withError3rd() (*User, bool, error) { return nil, false, nil } function withError4th (line 245) | func withError4th() (*User, *User, *User, error) { return nil, nil, nil,... function slice (line 247) | func slice() ([]int, error) { return nil, nil } function strNil (line 249) | func strNil() (string, error) { return "nil", nil } function strEmpty (line 250) | func strEmpty() (string, error) { return "", nil } function primitivePtrTypeValid (line 254) | func primitivePtrTypeValid() (*int, error) { function structPtrTypeValid (line 261) | func structPtrTypeValid() (*User, error) { function unsafePtrValid (line 268) | func unsafePtrValid() (unsafe.Pointer, error) { function uintPtrValid (line 276) | func uintPtrValid() (uintptr, error) { function channelTypeValid (line 283) | func channelTypeValid() (ChannelType, error) { function funcTypeValid (line 290) | func funcTypeValid() (FuncType, error) { function ifaceTypeValid (line 299) | func ifaceTypeValid() (io.Reader, error) { function implicitNil1 (line 308) | func implicitNil1() (*User, error) { function implicitNil2 (line 313) | func implicitNil2() (*User, error) { function implicitNil3 (line 319) | func implicitNil3() (*User, error) { function wrap (line 322) | func wrap(err error) error { return err } function primitivePtrTypeOpposite (line 326) | func primitivePtrTypeOpposite() (*int, error) { function structPtrTypeOpposite (line 333) | func structPtrTypeOpposite() (*User, error) { function unsafePtrOpposite (line 340) | func unsafePtrOpposite() (unsafe.Pointer, error) { function uintPtrOpposite (line 348) | func uintPtrOpposite() (uintptr, error) { function channelTypeOpposite (line 355) | func channelTypeOpposite() (ChannelType, error) { function funcTypeOpposite (line 362) | func funcTypeOpposite() (FuncType, error) { function ifaceTypeOpposite (line 371) | func ifaceTypeOpposite() (io.Reader, error) { FILE: pkg/golinters/nilnil/testdata/nilnil_cgo.go function _ (line 18) | func _() { function _ (line 24) | func _() (unsafe.Pointer, error) { FILE: pkg/golinters/nilnil/testdata/nilnil_detect_opposite.go function primitivePtrTypeOpposite (line 14) | func primitivePtrTypeOpposite() (*int, error) { function structPtrTypeOpposite (line 21) | func structPtrTypeOpposite() (*User, error) { function unsafePtrOpposite (line 28) | func unsafePtrOpposite() (unsafe.Pointer, error) { function uintPtrOpposite (line 36) | func uintPtrOpposite() (uintptr, error) { function channelTypeOpposite (line 43) | func channelTypeOpposite() (ChannelType, error) { function funcTypeOpposite (line 50) | func funcTypeOpposite() (FuncType, error) { function ifaceTypeOpposite (line 59) | func ifaceTypeOpposite() (io.Reader, error) { type User (line 67) | type User struct type StructPtrType (line 68) | type StructPtrType type PrimitivePtrType (line 69) | type PrimitivePtrType type ChannelType (line 70) | type ChannelType type FuncType (line 71) | type FuncType type Checker (line 72) | type Checker interface function wrap (line 75) | func wrap(err error) error { return err } function structPtr (line 77) | func structPtr() (*int, error) { function structPtrValid (line 81) | func structPtrValid() (*int, error) { FILE: pkg/golinters/nilnil/testdata/nilnil_multiple_nils.go function withoutArgs (line 5) | func withoutArgs() {} function withoutError1 (line 6) | func withoutError1() *User { return nil } function withoutError2 (line 7) | func withoutError2() (*User, *User) { return nil, nil } function withoutError3 (line 8) | func withoutError3() (*User, *User, *User) { return nil, nil, nil } function withoutError4 (line 9) | func withoutError4() (*User, *User, *User, *User) { return nil, nil, nil... function invalidOrder (line 11) | func invalidOrder() (error, *User) { return nil, nil } function withError3rd (line 12) | func withError3rd() (*User, bool, error) { return nil, false, nil } function withError4th (line 13) | func withError4th() (*User, *User, *User, error) { return nil, nil, nil,... type User (line 15) | type User struct FILE: pkg/golinters/nilnil/testdata/nilnil_pointers_only.go type User (line 7) | type User struct function primitivePtr (line 9) | func primitivePtr() (*int, error) { function structPtr (line 13) | func structPtr() (*User, error) { function unsafePtr (line 17) | func unsafePtr() (unsafe.Pointer, error) { function uintPtr0o (line 21) | func uintPtr0o() (uintptr, error) { function chBi (line 25) | func chBi() (chan int, error) { function fun (line 29) | func fun() (func(), error) { function anyType (line 33) | func anyType() (any, error) { function m1 (line 37) | func m1() (map[int]int, error) { FILE: pkg/golinters/nlreturn/nlreturn.go function New (line 10) | func New(settings *config.NlreturnSettings) *goanalysis.Linter { FILE: pkg/golinters/nlreturn/nlreturn_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/nlreturn/testdata/fix/in/nlreturn.go function cha (line 5) | func cha() { function baz (line 39) | func baz() { function foo (line 54) | func foo() int { function bar (line 74) | func bar() int { function main (line 86) | func main() { function bugNoAssignSmthHandling (line 90) | func bugNoAssignSmthHandling() string { function bugNoExprSmthHandling (line 113) | func bugNoExprSmthHandling(string) { function bugNoDeferSmthHandling (line 130) | func bugNoDeferSmthHandling(string) { function bugNoGoSmthHandling (line 147) | func bugNoGoSmthHandling(string) { FILE: pkg/golinters/nlreturn/testdata/fix/out/nlreturn.go function cha (line 5) | func cha() { function baz (line 42) | func baz() { function foo (line 59) | func foo() int { function bar (line 80) | func bar() int { function main (line 93) | func main() { function bugNoAssignSmthHandling (line 97) | func bugNoAssignSmthHandling() string { function bugNoExprSmthHandling (line 121) | func bugNoExprSmthHandling(string) { function bugNoDeferSmthHandling (line 139) | func bugNoDeferSmthHandling(string) { function bugNoGoSmthHandling (line 157) | func bugNoGoSmthHandling(string) { FILE: pkg/golinters/nlreturn/testdata/nlreturn-block-size.go function foo0 (line 5) | func foo0(n int) int { function foo1 (line 14) | func foo1(n int) int { FILE: pkg/golinters/nlreturn/testdata/nlreturn.go function cha (line 4) | func cha() { function baz (line 38) | func baz() { function foo (line 53) | func foo() int { function bar (line 73) | func bar() int { function main (line 85) | func main() { function bugNoAssignSmthHandling (line 89) | func bugNoAssignSmthHandling() string { function bugNoExprSmthHandling (line 112) | func bugNoExprSmthHandling(string) { function bugNoDeferSmthHandling (line 129) | func bugNoDeferSmthHandling(string) { function bugNoGoSmthHandling (line 146) | func bugNoGoSmthHandling(string) { FILE: pkg/golinters/nlreturn/testdata/nlreturn_cgo.go function _ (line 19) | func _() { function cha (line 25) | func cha() { FILE: pkg/golinters/noctx/noctx.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/noctx/noctx_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/noctx/testdata/noctx.go function _ (line 12) | func _() { function _ (line 125) | func _() { function _ (line 148) | func _() { FILE: pkg/golinters/noctx/testdata/noctx_cgo.go function _ (line 21) | func _() { function _ (line 29) | func _() { function _ (line 142) | func _() { function _ (line 165) | func _() { FILE: pkg/golinters/noinlineerr/noinlineerr.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/noinlineerr/noinlineerr_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/noinlineerr/testdata/fix/in/noinlineerr.go type MyAliasErr (line 5) | type MyAliasErr type MyCustomError (line 7) | type MyCustomError struct method Error (line 9) | func (mc *MyCustomError) Error() string { function doSomething (line 13) | func doSomething() error { function doSmthManyArgs (line 17) | func doSmthManyArgs(a, b, c, d int) error { function doSmthMultipleReturn (line 21) | func doSmthMultipleReturn() (bool, error) { function doMyAliasErr (line 25) | func doMyAliasErr() MyAliasErr { function doMyCustomErr (line 29) | func doMyCustomErr() *MyCustomError { function invalid (line 33) | func invalid() error { FILE: pkg/golinters/noinlineerr/testdata/fix/out/noinlineerr.go type MyAliasErr (line 5) | type MyAliasErr type MyCustomError (line 7) | type MyCustomError struct method Error (line 9) | func (mc *MyCustomError) Error() string { function doSomething (line 13) | func doSomething() error { function doSmthManyArgs (line 17) | func doSmthManyArgs(a, b, c, d int) error { function doSmthMultipleReturn (line 21) | func doSmthMultipleReturn() (bool, error) { function doMyAliasErr (line 25) | func doMyAliasErr() MyAliasErr { function doMyCustomErr (line 29) | func doMyCustomErr() *MyCustomError { function invalid (line 33) | func invalid() error { FILE: pkg/golinters/noinlineerr/testdata/noinlineerr.go type MyAliasErr (line 9) | type MyAliasErr type MyCustomError (line 11) | type MyCustomError struct method Error (line 13) | func (mc *MyCustomError) Error() string { function doSomething (line 17) | func doSomething() error { function doSmthManyArgs (line 21) | func doSmthManyArgs(a, b, c, d int) error { function doSmthMultipleReturn (line 25) | func doSmthMultipleReturn() (bool, error) { function doMyAliasErr (line 29) | func doMyAliasErr() MyAliasErr { function doMyCustomErr (line 33) | func doMyCustomErr() *MyCustomError { function valid (line 37) | func valid() error { function invalid (line 60) | func invalid() error { FILE: pkg/golinters/nolintlint/internal/issues.go function formatExtraLeadingSpace (line 9) | func formatExtraLeadingSpace(fullDirective string) string { function formatNotMachine (line 13) | func formatNotMachine(fullDirective string) string { function formatNotSpecific (line 19) | func formatNotSpecific(fullDirective, directiveWithOptionalLeadingSpace ... function formatParseError (line 24) | func formatParseError(fullDirective, directiveWithOptionalLeadingSpace s... function formatNoExplanation (line 30) | func formatNoExplanation(fullDirective, fullDirectiveWithoutExplanation ... function formatUnusedCandidate (line 35) | func formatUnusedCandidate(fullDirective, expectedLinter string) string { FILE: pkg/golinters/nolintlint/internal/nolintlint.go constant LinterName (line 15) | LinterName = "nolintlint" constant NeedsMachineOnly (line 18) | NeedsMachineOnly Needs = 1 << iota constant NeedsSpecific (line 19) | NeedsSpecific constant NeedsExplanation (line 20) | NeedsExplanation constant NeedsUnused (line 21) | NeedsUnused constant NeedsAll (line 22) | NeedsAll = NeedsMachineOnly | NeedsSpecific | NeedsExplanation type Needs (line 25) | type Needs constant commentMark (line 27) | commentMark = "//" type Linter (line 34) | type Linter struct method Run (line 58) | func (l Linter) Run(pass *analysis.Pass) ([]*goanalysis.Issue, error) { function NewLinter (line 40) | func NewLinter(needs Needs, excludes []string) (*Linter, error) { FILE: pkg/golinters/nolintlint/internal/nolintlint_test.go function TestLinter_Run (line 16) | func TestLinter_Run(t *testing.T) { FILE: pkg/golinters/nolintlint/nolintlint.go constant LinterName (line 16) | LinterName = nolintlint.LinterName function New (line 18) | func New(settings *config.NoLintLintSettings) *goanalysis.Linter { FILE: pkg/golinters/nolintlint/nolintlint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/nolintlint/testdata/fix/in/nolintlint.go function nolintlint (line 7) | func nolintlint() { FILE: pkg/golinters/nolintlint/testdata/fix/out/nolintlint.go function nolintlint (line 7) | func nolintlint() { FILE: pkg/golinters/nolintlint/testdata/nolintlint.go function Foo (line 8) | func Foo() { FILE: pkg/golinters/nolintlint/testdata/nolintlint_cgo.go function _ (line 21) | func _() { function Foo (line 27) | func Foo() { FILE: pkg/golinters/nolintlint/testdata/nolintlint_unused.go function Foo (line 8) | func Foo() { FILE: pkg/golinters/nonamedreturns/nonamedreturns.go function New (line 10) | func New(settings *config.NoNamedReturnsSettings) *goanalysis.Linter { FILE: pkg/golinters/nonamedreturns/nonamedreturns_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/nonamedreturns/testdata/nonamedreturns.go function simple (line 6) | func simple() (err error) { function twoReturnParams (line 13) | func twoReturnParams() (i int, err error) { // want `named return "i" wi... function allUnderscoresExceptError (line 21) | func allUnderscoresExceptError() (_ int, err error) { function customName (line 28) | func customName() (myName error) { function errorIsNoAssigned (line 35) | func errorIsNoAssigned() (err error) { // want `named return "err" with ... function shadowVariable (line 49) | func shadowVariable() (err error) { // want `named return "err" with typ... function shadowVariableButAssign (line 57) | func shadowVariableButAssign() (err error) { function shadowVariable2 (line 68) | func shadowVariable2() (err error) { // want `named return "err" with ty... function errorAliasIsTheSame (line 79) | func errorAliasIsTheSame() (err errorAlias) { type myError (line 86) | type myError function customTypeWithErrorUnderline (line 88) | func customTypeWithErrorUnderline() (err myError) { // want `named retur... type myError2 (line 95) | type myError2 interface function customTypeWithTheSameInterface (line 97) | func customTypeWithTheSameInterface() (err myError2) { // want `named re... type myError3 (line 106) | type myError3 struct method Error (line 108) | func (m myError3) Error() string { return "" } function customTypeImplementingErrorInterface (line 110) | func customTypeImplementingErrorInterface() (err myError3) { // want `na... function shadowErrorType (line 117) | func shadowErrorType() { function notTheLast (line 130) | func notTheLast() (err error, _ int) { function twoErrorsCombined (line 137) | func twoErrorsCombined() (err1, err2 error) { function twoErrorsSeparated (line 145) | func twoErrorsSeparated() (err1 error, err2 error) { function errorSlice (line 153) | func errorSlice() (err []error) { // want `named return "err" with type ... function deferWithVariable (line 160) | func deferWithVariable() (err error) { // want `named return "err" with ... function uberMultierr (line 168) | func uberMultierr() (err error) { // want `named return "err" with type ... function deferInDefer (line 175) | func deferInDefer() (err error) { function twoDefers (line 184) | func twoDefers() (err error) { function callFunction (line 192) | func callFunction() (err error) { function callFunction2 (line 199) | func callFunction2() (err error) { function deepInside (line 208) | func deepInside() (err error) { function funcLiteralInsideFunc (line 253) | func funcLiteralInsideFunc() error { type x (line 263) | type x struct method goodMethod (line 265) | func (x) goodMethod() (err error) { method badMethod (line 272) | func (x) badMethod() (err error) { // want `named return "err" with ty... function processError (line 279) | func processError(error) {} function doSomething (line 280) | func doSomething() (int, error) { return 10, nil } function multierrAppendInto (line 281) | func multierrAppendInto(*error, error) bool { return false } FILE: pkg/golinters/nonamedreturns/testdata/nonamedreturns_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() (i int, err error) { // want `named return "i" with type "int" ... FILE: pkg/golinters/nonamedreturns/testdata/nonamedreturns_custom.go type asdf (line 7) | type asdf struct function noParams (line 11) | func noParams() { function deferWithError (line 32) | func deferWithError() (err error) { // want `named return "err" with typ... type funcDefinition (line 59) | type funcDefinition function funcDefinitionImpl (line 61) | func funcDefinitionImpl(arg1, arg2 interface{}) (int, error) { function funcDefinitionImpl2 (line 65) | func funcDefinitionImpl2(arg1, arg2 interface{}) (num int, err error) { ... function funcDefinitionImpl3 (line 69) | func funcDefinitionImpl3(arg1, arg2 interface{}) (num int, _ error) { //... function funcDefinitionImpl4 (line 73) | func funcDefinitionImpl4(arg1, arg2 interface{}) (_ int, _ error) { function test (line 87) | func test() { function good (line 102) | func good(i string) string { function bad (line 106) | func bad(i string, a, b int) (ret1 string, ret2 interface{}, ret3, ret4 ... function bad2 (line 111) | func bad2() (msg string, err error) { // want `named return "msg" with t... function myLog (line 117) | func myLog(format string, args ...interface{}) { type obj (line 121) | type obj struct method func1 (line 123) | func (o *obj) func1() (err error) { return nil } method func2 (line 125) | func (o *obj) func2() (_ error) { return nil } FILE: pkg/golinters/nosprintfhostport/nosprintfhostport.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/nosprintfhostport/nosprintfhostport_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/nosprintfhostport/testdata/nosprintfhostport.go function _ (line 9) | func _() { FILE: pkg/golinters/nosprintfhostport/testdata/nosprintfhostport_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { FILE: pkg/golinters/paralleltest/paralleltest.go function New (line 10) | func New(settings *config.ParallelTestSettings) *goanalysis.Linter { FILE: pkg/golinters/paralleltest/paralleltest_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/paralleltest/testdata/paralleltest_custom_test.go function TestParallelTestIgnore (line 11) | func TestParallelTestIgnore(t *testing.T) { function TestParallelTestEmptyIgnore (line 24) | func TestParallelTestEmptyIgnore(t *testing.T) {} FILE: pkg/golinters/paralleltest/testdata/paralleltest_test.go function TestFunctionSuccessfulRangeTest (line 9) | func TestFunctionSuccessfulRangeTest(t *testing.T) { function TestFunctionMissingCallToParallel (line 24) | func TestFunctionMissingCallToParallel(t *testing.T) {} FILE: pkg/golinters/perfsprint/perfsprint.go function New (line 10) | func New(settings *config.PerfSprintSettings) *goanalysis.Linter { FILE: pkg/golinters/perfsprint/perfsprint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/perfsprint/testdata/fix/in/perfsprint.go function TestPerfsprint (line 9) | func TestPerfsprint() { FILE: pkg/golinters/perfsprint/testdata/fix/out/perfsprint.go function TestPerfsprint (line 9) | func TestPerfsprint() { FILE: pkg/golinters/perfsprint/testdata/perfsprint.go function TestPerfsprint (line 8) | func TestPerfsprint() { FILE: pkg/golinters/perfsprint/testdata/perfsprint_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { FILE: pkg/golinters/perfsprint/testdata/perfsprint_custom.go function TestPerfsprint2 (line 9) | func TestPerfsprint2() { FILE: pkg/golinters/prealloc/prealloc.go function New (line 11) | func New(settings *config.PreallocSettings) *goanalysis.Linter { FILE: pkg/golinters/prealloc/prealloc_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/prealloc/testdata/prealloc.go function Prealloc (line 4) | func Prealloc(source []int) []int { FILE: pkg/golinters/prealloc/testdata/prealloc_cgo.go function _ (line 18) | func _() { function _ (line 24) | func _(source []int) []int { FILE: pkg/golinters/predeclared/predeclared.go function New (line 12) | func New(settings *config.PredeclaredSettings) *goanalysis.Linter { FILE: pkg/golinters/predeclared/predeclared_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/predeclared/testdata/predeclared.go function hello (line 4) | func hello() { type A (line 15) | type A struct function Clone (line 20) | func Clone(a A) A { function recover (line 27) | func recover() {} FILE: pkg/golinters/predeclared/testdata/predeclared_cgo.go function _ (line 18) | func _() { function _ (line 24) | func _() { FILE: pkg/golinters/predeclared/testdata/predeclared_custom.go function hello (line 5) | func hello() { type A (line 16) | type A struct function Clone (line 21) | func Clone(a A) A { function recover (line 28) | func recover() {} FILE: pkg/golinters/promlinter/promlinter.go constant linterName (line 16) | linterName = "promlinter" function New (line 18) | func New(settings *config.PromlinterSettings) *goanalysis.Linter { function runPromLinter (line 54) | func runPromLinter(pass *analysis.Pass, promSettings promlinter.Setting)... FILE: pkg/golinters/promlinter/promlinter_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/promlinter/testdata/promlinter_cgo.go function _ (line 21) | func _() { FILE: pkg/golinters/protogetter/protogetter.go function New (line 10) | func New(settings *config.ProtoGetterSettings) *goanalysis.Linter { FILE: pkg/golinters/protogetter/protogetter_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/protogetter/testdata/proto/test.go method CustomMethod (line 3) | func (x *Embedded) CustomMethod() interface{} { type Other (line 7) | type Other struct method MyMethod (line 10) | func (x *Other) MyMethod(certs *Test) *Embedded { method Equal (line 14) | func (x *Test) Equal(v *Test) bool { method SetS (line 18) | func (x *Embedded) SetS(s string) { method SetMap (line 22) | func (x *Embedded) SetMap(_ map[string]string) { FILE: pkg/golinters/protogetter/testdata/proto/test.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Test (line 23) | type Test struct method Reset (line 41) | func (x *Test) Reset() { method String (line 50) | func (x *Test) String() string { method ProtoMessage (line 54) | func (*Test) ProtoMessage() {} method ProtoReflect (line 56) | func (x *Test) ProtoReflect() protoreflect.Message { method Descriptor (line 69) | func (*Test) Descriptor() ([]byte, []int) { method GetD (line 73) | func (x *Test) GetD() float64 { method GetF (line 80) | func (x *Test) GetF() float32 { method GetI32 (line 87) | func (x *Test) GetI32() int32 { method GetI64 (line 94) | func (x *Test) GetI64() int64 { method GetU32 (line 101) | func (x *Test) GetU32() uint32 { method GetU64 (line 108) | func (x *Test) GetU64() uint64 { method GetT (line 115) | func (x *Test) GetT() bool { method GetB (line 122) | func (x *Test) GetB() []byte { method GetS (line 129) | func (x *Test) GetS() string { method GetEmbedded (line 136) | func (x *Test) GetEmbedded() *Embedded { method GetRepeatedEmbeddeds (line 143) | func (x *Test) GetRepeatedEmbeddeds() []*Embedded { type Embedded (line 150) | type Embedded struct method Reset (line 159) | func (x *Embedded) Reset() { method String (line 168) | func (x *Embedded) String() string { method ProtoMessage (line 172) | func (*Embedded) ProtoMessage() {} method ProtoReflect (line 174) | func (x *Embedded) ProtoReflect() protoreflect.Message { method Descriptor (line 187) | func (*Embedded) Descriptor() ([]byte, []int) { method GetS (line 191) | func (x *Embedded) GetS() string { method GetEmbedded (line 198) | func (x *Embedded) GetEmbedded() *Embedded { function file_test_proto_rawDescGZIP (line 241) | func file_test_proto_rawDescGZIP() []byte { function init (line 266) | func init() { file_test_proto_init() } function file_test_proto_init (line 267) | func file_test_proto_init() { FILE: pkg/golinters/protogetter/testdata/proto/test_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion7 constant Testing_Call_FullMethodName (line 22) | Testing_Call_FullMethodName = "/Testing/call" type TestingClient (line 28) | type TestingClient interface type testingClient (line 32) | type testingClient struct method Call (line 40) | func (c *testingClient) Call(ctx context.Context, in *Test, opts ...gr... function NewTestingClient (line 36) | func NewTestingClient(cc grpc.ClientConnInterface) TestingClient { type TestingServer (line 52) | type TestingServer interface type UnimplementedTestingServer (line 58) | type UnimplementedTestingServer struct method Call (line 61) | func (UnimplementedTestingServer) Call(context.Context, *Test) (*Test,... method mustEmbedUnimplementedTestingServer (line 64) | func (UnimplementedTestingServer) mustEmbedUnimplementedTestingServer(... type UnsafeTestingServer (line 69) | type UnsafeTestingServer interface function RegisterTestingServer (line 73) | func RegisterTestingServer(s grpc.ServiceRegistrar, srv TestingServer) { function _Testing_Call_Handler (line 77) | func _Testing_Call_Handler(srv interface{}, ctx context.Context, dec fun... FILE: pkg/golinters/protogetter/testdata/protogetter.go type Test (line 10) | type Test struct function testInvalid (line 14) | func testInvalid(t *proto.Test) { function testValid (line 85) | func testValid(t *proto.Test) { FILE: pkg/golinters/protogetter/testdata/protogetter_cgo.go function _ (line 20) | func _() { type Test (line 26) | type Test struct function _ (line 30) | func _(t *proto.Test) { FILE: pkg/golinters/reassign/reassign.go function New (line 13) | func New(settings *config.ReassignSettings) *goanalysis.Linter { FILE: pkg/golinters/reassign/reassign_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/reassign/testdata/reassign.go function reassignTest (line 9) | func reassignTest() { FILE: pkg/golinters/reassign/testdata/reassign_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _() { FILE: pkg/golinters/reassign/testdata/reassign_patterns.go function reassignTestPatterns (line 10) | func reassignTestPatterns() { FILE: pkg/golinters/recvcheck/recvcheck.go function New (line 10) | func New(settings *config.RecvcheckSettings) *goanalysis.Linter { FILE: pkg/golinters/recvcheck/recvcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/recvcheck/testdata/recvcheck.go type Bar (line 6) | type Bar struct method A (line 8) | func (b Bar) A() { method B (line 12) | func (b *Bar) B() { FILE: pkg/golinters/recvcheck/testdata/recvcheck_cgo.go function _ (line 19) | func _() { type Bar (line 25) | type Bar struct method A (line 27) | func (b Bar) A() { method B (line 31) | func (b *Bar) B() { FILE: pkg/golinters/revive/revive.go constant linterName (line 29) | linterName = "revive" function New (line 36) | func New(settings *config.ReviveSettings) *goanalysis.Linter { type wrapper (line 78) | type wrapper struct method run (line 109) | func (w *wrapper) run(pass *analysis.Pass) ([]*goanalysis.Issue, error) { method toIssue (line 129) | func (w *wrapper) toIssue(pass *analysis.Pass, failure *lint.Failure) ... function newWrapper (line 84) | func newWrapper(settings *config.ReviveSettings) (*wrapper, error) { function getConfig (line 176) | func getConfig(cfg *config.ReviveSettings) (*lint.Config, error) { function createConfigMap (line 211) | func createConfigMap(cfg *config.ReviveSettings) map[string]any { function safeTomlSlice (line 252) | func safeTomlSlice(r []any) []any { constant defaultConfidence (line 384) | defaultConfidence = 0.8 function normalizeConfig (line 388) | func normalizeConfig(cfg *lint.Config) { function defaultConfig (line 433) | func defaultConfig() *lint.Config { function displayRules (line 445) | func displayRules(conf *lint.Config) { function extractRulesName (line 466) | func extractRulesName(rules []lint.Rule) []string { function severity (line 480) | func severity(cfg *lint.Config, failure *lint.Failure) lint.Severity { FILE: pkg/golinters/revive/revive_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/revive/testdata/fix/in/revive.go function _ (line 12) | func _() error { function _ (line 16) | func _() (int, error) { function _ (line 21) | func _() (int, error) { FILE: pkg/golinters/revive/testdata/fix/out/revive.go function _ (line 12) | func _() error { function _ (line 16) | func _() (int, error) { function _ (line 21) | func _() (int, error) { FILE: pkg/golinters/revive/testdata/revive.go function SampleRevive (line 14) | func SampleRevive(t *time.Duration) error { function testReviveComplexity (line 22) | func testReviveComplexity(s string) { // want "cyclomatic: function test... function testErrorStrings (line 36) | func testErrorStrings() { FILE: pkg/golinters/revive/testdata/revive_cgo.go function _ (line 21) | func _() { function _ (line 27) | func _(t *time.Duration) error { function _ (line 35) | func _(s string) { // want "cyclomatic: function _ has cyclomatic comple... FILE: pkg/golinters/revive/testdata/revive_default.go function testReviveDefault (line 10) | func testReviveDefault(t *time.Duration) error { function testReviveComplexityDefault (line 18) | func testReviveComplexityDefault(s string) { FILE: pkg/golinters/rowserrcheck/rowserrcheck.go function New (line 10) | func New(settings *config.RowsErrCheckSettings) *goanalysis.Linter { FILE: pkg/golinters/rowserrcheck/rowserrcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/rowserrcheck/testdata/rowserrcheck.go function RowsErrNotChecked (line 10) | func RowsErrNotChecked(db *sql.DB) { function issue943 (line 17) | func issue943(db *sql.DB) { FILE: pkg/golinters/rowserrcheck/testdata/rowserrcheck_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _(db *sql.DB) { FILE: pkg/golinters/sloglint/sloglint.go function New (line 10) | func New(settings *config.SlogLintSettings) *goanalysis.Linter { FILE: pkg/golinters/sloglint/sloglint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/sloglint/testdata/sloglint.go function test (line 8) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_args_on_sep_lines.go function test (line 9) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_attr_only.go function test (line 9) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_cgo.go function _ (line 21) | func _() { function _ (line 27) | func _() { FILE: pkg/golinters/sloglint/testdata/sloglint_context_only.go function test (line 12) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_forbidden_keys.go constant snakeKey (line 8) | snakeKey = "foo_bar" function tests (line 11) | func tests() { FILE: pkg/golinters/sloglint/testdata/sloglint_key_naming_case.go constant snakeKey (line 10) | snakeKey = "foo_bar" constant kebabKey (line 11) | kebabKey = "foo-bar" function test (line 14) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_kv_only.go function test (line 9) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_no_raw_keys.go constant foo (line 9) | foo = "foo" function Foo (line 11) | func Foo(value int) slog.Attr { function test (line 15) | func test() { FILE: pkg/golinters/sloglint/testdata/sloglint_static_msg.go function test (line 11) | func test() { FILE: pkg/golinters/spancheck/spancheck.go function New (line 10) | func New(settings *config.SpancheckSettings) *goanalysis.Linter { FILE: pkg/golinters/spancheck/spancheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/spancheck/testdata/spancheck.go type testDefaultError (line 13) | type testDefaultError struct method Error (line 15) | func (e *testDefaultError) Error() string { function _ (line 21) | func _() { function _ (line 27) | func _() { function _ (line 32) | func _() { function _ (line 37) | func _() { function _ (line 46) | func _() error { function _ (line 53) | func _() error { function _ (line 64) | func _() error { function _ (line 84) | func _() { FILE: pkg/golinters/spancheck/testdata/spancheck_cgo.go function _ (line 24) | func _() { type testDefaultError (line 30) | type testDefaultError struct method Error (line 32) | func (e *testDefaultError) Error() string { function _ (line 38) | func _() { function _ (line 44) | func _() { function _ (line 49) | func _() { function _ (line 54) | func _() { function _ (line 63) | func _() error { function _ (line 70) | func _() error { function _ (line 81) | func _() error { function _ (line 101) | func _() { FILE: pkg/golinters/spancheck/testdata/spancheck_enable_all.go type testError (line 15) | type testError struct method Error (line 17) | func (e *testError) Error() string { function _ (line 23) | func _() { function _ (line 29) | func _() { function _ (line 34) | func _() { function _ (line 39) | func _() { function _ (line 46) | func _() error { function _ (line 59) | func _() error { function _ (line 71) | func _() error { function _ (line 83) | func _() error { function _ (line 95) | func _() (string, error) { function _ (line 107) | func _() (string, error) { function _ (line 119) | func _() { function _ (line 134) | func _() error { function _ (line 150) | func _() error { function _ (line 157) | func _() error { function _ (line 168) | func _() error { function _ (line 188) | func _() { function _ (line 197) | func _() error { function recordError (line 206) | func recordError(span trace.Span, err error) {} FILE: pkg/golinters/spancheck/testdata/spancheck_keep_default.go function StartTrace (line 12) | func StartTrace() (context.Context, trace.Span) { function _ (line 16) | func _() { FILE: pkg/golinters/sqlclosecheck/sqlclosecheck.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/sqlclosecheck/sqlclosecheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/sqlclosecheck/testdata/sqlclosecheck.go function rowsCorrectDeferBlock (line 18) | func rowsCorrectDeferBlock() { function rowsCorrectDefer (line 47) | func rowsCorrectDefer() { function rowsMissingClose (line 70) | func rowsMissingClose() { function rowsMissingCloseG (line 93) | func rowsMissingCloseG[T ~int64](db *sql.DB, a T) { function rowsNonDeferClose (line 100) | func rowsNonDeferClose() { function rowsPassedAndClosed (line 124) | func rowsPassedAndClosed() { function rowsClosedPassed (line 133) | func rowsClosedPassed(rows *sql.Rows) { function rowsPassedAndNotClosed (line 137) | func rowsPassedAndNotClosed(rows *sql.Rows) { function rowsDontClosedPassed (line 146) | func rowsDontClosedPassed(*sql.Rows) { function rowsReturn (line 150) | func rowsReturn() (*sql.Rows, error) { function rowsReturnShort (line 158) | func rowsReturnShort() (*sql.Rows, error) { function stmtCorrectDeferBlock (line 162) | func stmtCorrectDeferBlock() { function stmtCorrectDefer (line 188) | func stmtCorrectDefer() { function stmtMissingClose (line 209) | func stmtMissingClose() { function stmtNonDeferClose (line 230) | func stmtNonDeferClose() { function stmtReturn (line 252) | func stmtReturn() (*sql.Stmt, error) { function stmtReturnShort (line 261) | func stmtReturnShort() (*sql.Stmt, error) { FILE: pkg/golinters/sqlclosecheck/testdata/sqlclosecheck_cgo.go function _ (line 29) | func _() { function _ (line 35) | func _() { FILE: pkg/golinters/staticcheck/staticcheck.go function New (line 26) | func New(settings *config.StaticCheckSettings) *goanalysis.Linter { function createConfig (line 61) | func createConfig(settings *config.StaticCheckSettings) *scconfig.Config { function normalizeList (line 107) | func normalizeList(list []string) []string { function setupAnalyzers (line 130) | func setupAnalyzers(src []*lint.Analyzer, checks []string) []*analysis.A... function extractAnalyzerNames (line 143) | func extractAnalyzerNames(analyzers []*lint.Analyzer) []string { function filterAnalyzerNames (line 154) | func filterAnalyzerNames(analyzers []string, checks []string) map[string... FILE: pkg/golinters/staticcheck/staticcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/staticcheck/testdata/fix/in/gosimple.go function _ (line 6) | func _(src []string) { FILE: pkg/golinters/staticcheck/testdata/fix/in/staticcheck.go function _ (line 8) | func _(a []string) { FILE: pkg/golinters/staticcheck/testdata/fix/in/stylecheck.go function _ (line 8) | func _(x int) { FILE: pkg/golinters/staticcheck/testdata/fix/out/gosimple.go function _ (line 6) | func _(src []string) { FILE: pkg/golinters/staticcheck/testdata/fix/out/staticcheck.go function _ (line 8) | func _(a []string) { FILE: pkg/golinters/staticcheck/testdata/fix/out/stylecheck.go function _ (line 8) | func _(x int) { FILE: pkg/golinters/staticcheck/testdata/gosimple.go function Gosimple (line 9) | func Gosimple(ss []string) { function GosimpleNolintGosimple (line 17) | func GosimpleNolintGosimple(ss []string) { FILE: pkg/golinters/staticcheck/testdata/gosimple_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _(ss []string) { FILE: pkg/golinters/staticcheck/testdata/staticcheck.go function Staticcheck (line 9) | func Staticcheck() { function StaticcheckNolintStaticcheck (line 15) | func StaticcheckNolintStaticcheck() { function StaticcheckPrintf (line 20) | func StaticcheckPrintf() { FILE: pkg/golinters/staticcheck/testdata/staticcheck_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _() { FILE: pkg/golinters/staticcheck/testdata/stylecheck.go function Stylecheck (line 6) | func Stylecheck(x int) { function StylecheckNolintStylecheck (line 17) | func StylecheckNolintStylecheck(x int) { FILE: pkg/golinters/staticcheck/testdata/stylecheck_cgo.go function _ (line 20) | func _() { function _ (line 26) | func _(x int) { FILE: pkg/golinters/staticcheck/testdata/stylecheck_empty.go function _ (line 7) | func _() { FILE: pkg/golinters/staticcheck/testdata/stylecheck_nil.go function _ (line 7) | func _() { FILE: pkg/golinters/swaggo/swaggo.go function New (line 10) | func New() *goanalysis.Linter { FILE: pkg/golinters/swaggo/swaggo_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/swaggo/testdata/fix/in/swaggo.go function GetStringByInt (line 18) | func GetStringByInt(w http.ResponseWriter, r *http.Request) {} FILE: pkg/golinters/swaggo/testdata/fix/out/swaggo.go function GetStringByInt (line 18) | func GetStringByInt(w http.ResponseWriter, r *http.Request) {} FILE: pkg/golinters/swaggo/testdata/swaggo.go function GetStringByInt (line 18) | func GetStringByInt(w http.ResponseWriter, r *http.Request) {} FILE: pkg/golinters/tagalign/tagalign.go function New (line 10) | func New(settings *config.TagAlignSettings) *goanalysis.Linter { FILE: pkg/golinters/tagalign/tagalign_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/tagalign/testdata/fix/in/tagalign.go type TagAlignExampleStrictKO (line 8) | type TagAlignExampleStrictKO struct FILE: pkg/golinters/tagalign/testdata/fix/out/tagalign.go type TagAlignExampleStrictKO (line 8) | type TagAlignExampleStrictKO struct FILE: pkg/golinters/tagalign/testdata/tagalign.go type TagAlignExampleAlignSort (line 6) | type TagAlignExampleAlignSort struct type TagAlignExampleAlignSort2 (line 12) | type TagAlignExampleAlignSort2 struct FILE: pkg/golinters/tagalign/testdata/tagalign_align_only.go type TagAlignExampleAlignOnlyKO (line 7) | type TagAlignExampleAlignOnlyKO struct type TagAlignExampleAlignOnlyOK (line 20) | type TagAlignExampleAlignOnlyOK struct FILE: pkg/golinters/tagalign/testdata/tagalign_cgo.go function _ (line 19) | func _() { type TagAlignExampleAlignSort (line 25) | type TagAlignExampleAlignSort struct type TagAlignExampleAlignSort2 (line 31) | type TagAlignExampleAlignSort2 struct FILE: pkg/golinters/tagalign/testdata/tagalign_order_only.go type TagAlignExampleOrderOnlyKO (line 7) | type TagAlignExampleOrderOnlyKO struct type TagAlignExampleOrderOnlyOK (line 12) | type TagAlignExampleOrderOnlyOK struct FILE: pkg/golinters/tagalign/testdata/tagalign_sort_only.go type TagAlignExampleSortOnlyKO (line 7) | type TagAlignExampleSortOnlyKO struct type TagAlignExampleSortOnlyOK (line 12) | type TagAlignExampleSortOnlyOK struct FILE: pkg/golinters/tagalign/testdata/tagalign_strict.go type TagAlignExampleStrictKO (line 7) | type TagAlignExampleStrictKO struct FILE: pkg/golinters/tagliatelle/tagliatelle.go function New (line 13) | func New(settings *config.TagliatelleSettings) *goanalysis.Linter { function toExtendedRules (line 50) | func toExtendedRules(src map[string]config.TagliatelleExtendedRule) map[... FILE: pkg/golinters/tagliatelle/tagliatelle_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/tagliatelle/testdata/tagliatelle.go type TglFoo (line 6) | type TglFoo struct type TglBar (line 15) | type TglBar struct type TglBir (line 21) | type TglBir struct type Bur (line 27) | type Bur struct FILE: pkg/golinters/tagliatelle/testdata/tagliatelle_cgo.go function _ (line 19) | func _() { type TglFoo (line 25) | type TglFoo struct type TglBar (line 34) | type TglBar struct type TglBir (line 40) | type TglBir struct type Bur (line 46) | type Bur struct FILE: pkg/golinters/tagliatelle/testdata/tagliatelle_ignored_fields.go type TglFoo (line 7) | type TglFoo struct type TglBar (line 16) | type TglBar struct type TglBir (line 22) | type TglBir struct type Bur (line 28) | type Bur struct FILE: pkg/golinters/tagliatelle/testdata/tagliatelle_initialism_overrides.go type Foo (line 5) | type Foo struct FILE: pkg/golinters/testableexamples/testableexamples.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/testableexamples/testableexamples_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/testableexamples/testdata/testableexamples_test.go function Example_good (line 6) | func Example_good() { function Example_goodEmptyOutput (line 11) | func Example_goodEmptyOutput() { function Example_bad (line 16) | func Example_bad() { // want `^missing output for example, go test can't... function Example_nolint (line 21) | func Example_nolint() { FILE: pkg/golinters/testableexamples/testdata/testableexamples_test_cgo.go function _ (line 23) | func _() { function Example_good (line 29) | func Example_good() { function Example_goodEmptyOutput (line 34) | func Example_goodEmptyOutput() { function Example_bad (line 39) | func Example_bad() { // want `^missing output for example, go test can't... function Example_nolint (line 44) | func Example_nolint() { FILE: pkg/golinters/testifylint/testdata/fix/in/testifylint.go type Bool (line 14) | type Bool function TestTestifylint (line 16) | func TestTestifylint(t *testing.T) { type SuiteExample (line 68) | type SuiteExample struct method TestAll (line 76) | func (s *SuiteExample) TestAll() { method TestOne (line 81) | func (s *SuiteExample) TestOne() { function TestSuiteExample (line 72) | func TestSuiteExample(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/fix/out/testifylint.go type Bool (line 14) | type Bool function TestTestifylint (line 16) | func TestTestifylint(t *testing.T) { type SuiteExample (line 68) | type SuiteExample struct method TestAll (line 76) | func (s *SuiteExample) TestAll() { method TestOne (line 81) | func (s *SuiteExample) TestOne() { function TestSuiteExample (line 72) | func TestSuiteExample(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/testifylint.go type Bool (line 14) | type Bool function TestTestifylint (line 16) | func TestTestifylint(t *testing.T) { type SuiteExample (line 68) | type SuiteExample struct method TestAll (line 76) | func (s *SuiteExample) TestAll() { method TestOne (line 81) | func (s *SuiteExample) TestOne() { function TestSuiteExample (line 72) | func TestSuiteExample(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/testifylint_bool_compare_only.go type Bool (line 11) | type Bool function TestTestifylint (line 13) | func TestTestifylint(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/testifylint_cgo.go function _ (line 24) | func _() { type Bool (line 30) | type Bool function TestTestifylint (line 32) | func TestTestifylint(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/testifylint_formatter_dont_require_string_msg.go function TestTestifylint (line 11) | func TestTestifylint(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/testifylint_formatter_only.go function TestTestifylint (line 12) | func TestTestifylint(t *testing.T) { FILE: pkg/golinters/testifylint/testdata/testifylint_require_error_only.go function TestTestifylint (line 14) | func TestTestifylint(t *testing.T) { type SuiteExample (line 62) | type SuiteExample struct method TestAll (line 70) | func (s *SuiteExample) TestAll() { function TestSuiteExample (line 66) | func TestSuiteExample(t *testing.T) { FILE: pkg/golinters/testifylint/testifylint.go function New (line 10) | func New(settings *config.TestifylintSettings) *goanalysis.Linter { FILE: pkg/golinters/testifylint/testifylint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/testpackage/testpackage.go function New (line 12) | func New(settings *config.TestpackageSettings) *goanalysis.Linter { FILE: pkg/golinters/testpackage/testpackage_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/thelper/testdata/thelper.go function thelperWithHelperAfterAssignment (line 6) | func thelperWithHelperAfterAssignment(t *testing.T) { // want "test help... function thelperWithNotFirst (line 11) | func thelperWithNotFirst(s string, t *testing.T, i int) { // want `param... function thelperWithIncorrectName (line 15) | func thelperWithIncorrectName(o *testing.T) { // want `parameter \*testi... function bhelperWithHelperAfterAssignment (line 19) | func bhelperWithHelperAfterAssignment(b *testing.B) { // want "test help... function bhelperWithNotFirst (line 24) | func bhelperWithNotFirst(s string, b *testing.B, i int) { // want `param... function bhelperWithIncorrectName (line 28) | func bhelperWithIncorrectName(o *testing.B) { // want `parameter \*testi... function tbhelperWithHelperAfterAssignment (line 32) | func tbhelperWithHelperAfterAssignment(tb testing.TB) { // want "test he... function tbhelperWithNotFirst (line 37) | func tbhelperWithNotFirst(s string, tb testing.TB, i int) { // want `par... function tbhelperWithIncorrectName (line 41) | func tbhelperWithIncorrectName(o testing.TB) { // want `parameter testin... function TestSubtestShouldNotBeChecked (line 45) | func TestSubtestShouldNotBeChecked(t *testing.T) { FILE: pkg/golinters/thelper/testdata/thelper_cgo.go function _ (line 19) | func _() { function thelperWithHelperAfterAssignment (line 25) | func thelperWithHelperAfterAssignment(t *testing.T) { // want "test help... FILE: pkg/golinters/thelper/testdata/thelper_fuzz.go function fhelperWithHelperAfterAssignment (line 6) | func fhelperWithHelperAfterAssignment(f *testing.F) { // want "test help... function fhelperWithNotFirst (line 11) | func fhelperWithNotFirst(s string, f *testing.F, i int) { // want `param... function fhelperWithIncorrectName (line 15) | func fhelperWithIncorrectName(o *testing.F) { // want `parameter \*testi... function FuzzSubtestShouldNotBeChecked (line 19) | func FuzzSubtestShouldNotBeChecked(f *testing.F) { FILE: pkg/golinters/thelper/testdata/thelper_with_options.go function thelperWithHelperAfterAssignmentWO (line 7) | func thelperWithHelperAfterAssignmentWO(t *testing.T) { // want "test he... function thelperWithNotFirstWO (line 12) | func thelperWithNotFirstWO(s string, t *testing.T, i int) { // want `par... function thelperWithIncorrectNameWO (line 16) | func thelperWithIncorrectNameWO(o *testing.T) { FILE: pkg/golinters/thelper/thelper.go function New (line 15) | func New(settings *config.ThelperSettings) *goanalysis.Linter { function applyTHelperOptions (line 57) | func applyTHelperOptions(o config.ThelperOptions, prefix string, opts ma... FILE: pkg/golinters/thelper/thelper_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/tparallel/testdata/tparallel_cgo.go function _ (line 19) | func _() { function TestSubtests (line 25) | func TestSubtests(t *testing.T) { // want "TestSubtests's subtests shoul... FILE: pkg/golinters/tparallel/testdata/tparallel_happy_path_test.go function TestValidHappyPath (line 9) | func TestValidHappyPath(t *testing.T) { function TestValidNoSubTest (line 16) | func TestValidNoSubTest(t *testing.T) { FILE: pkg/golinters/tparallel/testdata/tparallel_missing_subtest_test.go function TestSubtests (line 8) | func TestSubtests(t *testing.T) { // want "TestSubtests's subtests shoul... FILE: pkg/golinters/tparallel/testdata/tparallel_missing_toplevel_test.go function TestTopLevel (line 8) | func TestTopLevel(t *testing.T) { // want "TestTopLevel should call t.Pa... FILE: pkg/golinters/tparallel/tparallel.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/tparallel/tparallel_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/typecheck.go function NewTypecheck (line 9) | func NewTypecheck() *goanalysis.Linter { FILE: pkg/golinters/unconvert/testdata/unconvert.go function _ (line 8) | func _() { function _ (line 26) | func _() { function _ (line 36) | func _() { function Basic (line 53) | func Basic() { type Counter (line 121) | type Counter type ID (line 124) | type ID type Metric (line 127) | type Metric struct function Custom (line 133) | func Custom() { function Interfaces (line 157) | func Interfaces() { type Constructor (line 165) | type Constructor function Funcs (line 168) | func Funcs() { FILE: pkg/golinters/unconvert/testdata/unconvert_cgo.go function _ (line 18) | func _() { function _ (line 26) | func _() { function _ (line 44) | func _() { function _ (line 54) | func _() { function Basic (line 71) | func Basic() { FILE: pkg/golinters/unconvert/unconvert.go constant linterName (line 15) | linterName = "unconvert" function New (line 17) | func New(settings *config.UnconvertSettings) *goanalysis.Linter { function runUnconvert (line 48) | func runUnconvert(pass *analysis.Pass) []*goanalysis.Issue { FILE: pkg/golinters/unconvert/unconvert_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/unparam/testdata/unparam.go function unparamUnused (line 4) | func unparamUnused(a, b uint) uint { // want "unparamUnused - b is unused" FILE: pkg/golinters/unparam/testdata/unparam_cgo.go function _ (line 22) | func _() { function unparamUnusedCGO (line 28) | func unparamUnusedCGO(a, b uint) uint { // want "unparamUnusedCGO - b is... FILE: pkg/golinters/unparam/unparam.go function New (line 13) | func New(settings *config.UnparamSettings) *goanalysis.Linter { function runUnparam (line 31) | func runUnparam(pass *analysis.Pass, settings *config.UnparamSettings) e... FILE: pkg/golinters/unparam/unparam_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/unqueryvet/testdata/unqueryvet.go function _ (line 10) | func _() { type SQLBuilder (line 28) | type SQLBuilder interface function _ (line 35) | func _(builder SQLBuilder) { function _ (line 40) | func _(builder SQLBuilder) { FILE: pkg/golinters/unqueryvet/testdata/unqueryvet_custom.go function _ (line 11) | func _() { FILE: pkg/golinters/unqueryvet/unqueryvet.go function New (line 11) | func New(settings *config.UnqueryvetSettings) *goanalysis.Linter { FILE: pkg/golinters/unqueryvet/unqueryvet_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/unused/testdata/unused.go function fn1 (line 4) | func fn1() {} function fn2 (line 7) | func fn2() { fn3() } function fn3 (line 9) | func fn3() {} function fn4 (line 11) | func fn4() { fn5() } function fn5 (line 13) | func fn5() {} function fn6 (line 15) | func fn6() { fn4() } type unusedStruct (line 17) | type unusedStruct struct type unusedStructNolintUnused (line 19) | type unusedStructNolintUnused struct FILE: pkg/golinters/unused/testdata/unused_cgo.go function _ (line 22) | func _() { function fn1 (line 28) | func fn1() {} FILE: pkg/golinters/unused/unused.go constant linterName (line 19) | linterName = "unused" function New (line 21) | func New(settings *config.UnusedSettings) *goanalysis.Linter { function runUnused (line 53) | func runUnused(pass *analysis.Pass, cfg *config.UnusedSettings) []*goana... function getUnusedResults (line 86) | func getUnusedResults(pass *analysis.Pass, settings *config.UnusedSettin... FILE: pkg/golinters/unused/unused_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/usestdlibvars/testdata/fix/in/usestdlibvars.go function _200 (line 7) | func _200() { function _200_1 (line 11) | func _200_1() { FILE: pkg/golinters/usestdlibvars/testdata/fix/out/usestdlibvars.go function _200 (line 7) | func _200() { function _200_1 (line 11) | func _200_1() { FILE: pkg/golinters/usestdlibvars/testdata/usestdlibvars.go function _200 (line 6) | func _200() { function _200_1 (line 10) | func _200_1() { FILE: pkg/golinters/usestdlibvars/testdata/usestdlibvars_cgo.go function _ (line 19) | func _() { function _200 (line 25) | func _200() { function _200_1 (line 29) | func _200_1() { FILE: pkg/golinters/usestdlibvars/testdata/usestdlibvars_non_default.go function _200 (line 10) | func _200() { function _200_1 (line 14) | func _200_1() { constant _ (line 20) | _ = "Bool" constant _ (line 21) | _ = "Complex" constant _ (line 25) | _ = "BLAKE2b-256" constant _ (line 26) | _ = "BLAKE2b-384" constant _ (line 30) | _ = "/_goRPC_" constant _ (line 31) | _ = "/debug/rpc" constant _ (line 35) | _ = "Read Committed" constant _ (line 36) | _ = "Read Uncommitted" constant _ (line 40) | _ = "01/02 03:04:05PM '06 -0700" constant _ (line 41) | _ = "02 Jan 06 15:04 -0700" constant _ (line 45) | _ = "April" constant _ (line 46) | _ = "August" constant _ (line 50) | _ = "Friday" constant _ (line 51) | _ = "Monday" constant _ (line 55) | _ = "ECDSAWithP256AndSHA256" constant _ (line 56) | _ = "ECDSAWithP384AndSHA384" function _ (line 59) | func _() { FILE: pkg/golinters/usestdlibvars/usestdlibvars.go function New (line 10) | func New(settings *config.UseStdlibVarsSettings) *goanalysis.Linter { FILE: pkg/golinters/usestdlibvars/usestdlibvars_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/usetesting/testdata/fix/in/usetesting.go function Test_osCreateTemp (line 10) | func Test_osCreateTemp(t *testing.T) { FILE: pkg/golinters/usetesting/testdata/fix/out/usetesting.go function Test_osCreateTemp (line 10) | func Test_osCreateTemp(t *testing.T) { FILE: pkg/golinters/usetesting/testdata/usetesting.go function Test_contextBackground (line 10) | func Test_contextBackground(t *testing.T) { function Test_contextTODO (line 14) | func Test_contextTODO(t *testing.T) { function Test_osChdir (line 18) | func Test_osChdir(t *testing.T) { function Test_osMkdirTemp (line 22) | func Test_osMkdirTemp(t *testing.T) { function Test_osSetenv (line 26) | func Test_osSetenv(t *testing.T) { function Test_osTempDir (line 30) | func Test_osTempDir(t *testing.T) { function Test_osCreateTemp (line 34) | func Test_osCreateTemp(t *testing.T) { FILE: pkg/golinters/usetesting/testdata/usetesting_cgo.go function _ (line 20) | func _() { function Test_osMkdirTemp (line 26) | func Test_osMkdirTemp(t *testing.T) { FILE: pkg/golinters/usetesting/testdata/usetesting_configuration.go function Test_contextBackground (line 11) | func Test_contextBackground(t *testing.T) { function Test_contextTODO (line 15) | func Test_contextTODO(t *testing.T) { function Test_osChdir (line 19) | func Test_osChdir(t *testing.T) { function Test_osMkdirTemp (line 23) | func Test_osMkdirTemp(t *testing.T) { function Test_osTempDir (line 27) | func Test_osTempDir(t *testing.T) { function Test_osSetenv (line 31) | func Test_osSetenv(t *testing.T) { function Test_osCreateTemp (line 35) | func Test_osCreateTemp(t *testing.T) { FILE: pkg/golinters/usetesting/usetesting.go function New (line 10) | func New(settings *config.UseTestingSettings) *goanalysis.Linter { FILE: pkg/golinters/usetesting/usetesting_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/varnamelen/testdata/varnamelen.go function varnamelen (line 6) | func varnamelen() { FILE: pkg/golinters/varnamelen/testdata/varnamelen_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() { FILE: pkg/golinters/varnamelen/testdata/varnamelen_configuration.go function _ (line 8) | func _() { function _ (line 18) | func _() { function foo (line 28) | func foo() bool { FILE: pkg/golinters/varnamelen/varnamelen.go function New (line 13) | func New(settings *config.VarnamelenSettings) *goanalysis.Linter { FILE: pkg/golinters/varnamelen/varnamelen_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/wastedassign/testdata/wastedassign.go function pa (line 6) | func pa(x int) int { function multiple (line 10) | func multiple(val interface{}, times uint) interface{} { function noUseParams (line 22) | func noUseParams(params string) int { function f (line 28) | func f(param int) int { function checkLoopTest (line 69) | func checkLoopTest() int { function r (line 84) | func r(param int) int { function mugen (line 107) | func mugen() { function mugenG (line 120) | func mugenG[T ~int](hoge T) { function noMugen (line 132) | func noMugen() { function reassignInsideLoop (line 145) | func reassignInsideLoop() { function reassignInsideLoop2 (line 158) | func reassignInsideLoop2() { FILE: pkg/golinters/wastedassign/testdata/wastedassign_cgo.go function _ (line 19) | func _() { function pa (line 25) | func pa(x int) int { function multiple (line 29) | func multiple(val interface{}, times uint) interface{} { function noUseParams (line 41) | func noUseParams(params string) int { function f (line 47) | func f(param int) int { function checkLoopTest (line 88) | func checkLoopTest() int { function r (line 103) | func r(param int) int { function mugen (line 126) | func mugen() { function mugenG (line 139) | func mugenG[T ~int](hoge T) { function noMugen (line 151) | func noMugen() { function reassignInsideLoop (line 164) | func reassignInsideLoop() { function reassignInsideLoop2 (line 177) | func reassignInsideLoop2() { FILE: pkg/golinters/wastedassign/wastedassign.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/wastedassign/wastedassign_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/whitespace/testdata/fix/in/whitespace.go function oneLeadingNewline (line 8) | func oneLeadingNewline() { function oneNewlineAtBothEnds (line 13) | func oneNewlineAtBothEnds() { function noNewlineFunc (line 19) | func noNewlineFunc() { function oneNewlineFunc (line 22) | func oneNewlineFunc() { function twoNewlinesFunc (line 26) | func twoNewlinesFunc() { function noNewlineWithCommentFunc (line 31) | func noNewlineWithCommentFunc() { function oneTrailingNewlineWithCommentFunc (line 35) | func oneTrailingNewlineWithCommentFunc() { function oneLeadingNewlineWithCommentFunc (line 40) | func oneLeadingNewlineWithCommentFunc() { function twoLeadingNewlines (line 45) | func twoLeadingNewlines() { function multiFuncFunc (line 51) | func multiFuncFunc(a int, function multiIfFunc (line 56) | func multiIfFunc() { function notGoFmted (line 74) | func notGoFmted() { FILE: pkg/golinters/whitespace/testdata/fix/out/whitespace.go function oneLeadingNewline (line 8) | func oneLeadingNewline() { function oneNewlineAtBothEnds (line 12) | func oneNewlineAtBothEnds() { function noNewlineFunc (line 16) | func noNewlineFunc() { function oneNewlineFunc (line 19) | func oneNewlineFunc() { function twoNewlinesFunc (line 23) | func twoNewlinesFunc() { function noNewlineWithCommentFunc (line 27) | func noNewlineWithCommentFunc() { function oneTrailingNewlineWithCommentFunc (line 31) | func oneTrailingNewlineWithCommentFunc() { function oneLeadingNewlineWithCommentFunc (line 36) | func oneLeadingNewlineWithCommentFunc() { function twoLeadingNewlines (line 41) | func twoLeadingNewlines() { function multiFuncFunc (line 45) | func multiFuncFunc(a int, function multiIfFunc (line 51) | func multiIfFunc() { function notGoFmted (line 71) | func notGoFmted() { FILE: pkg/golinters/whitespace/testdata/whitespace.go function oneLeadingNewline (line 7) | func oneLeadingNewline() { // want "unnecessary leading newline" function oneNewlineAtBothEnds (line 12) | func oneNewlineAtBothEnds() { // want "unnecessary leading newline" function noNewlineFunc (line 18) | func noNewlineFunc() { function oneNewlineFunc (line 21) | func oneNewlineFunc() { function twoNewlinesFunc (line 25) | func twoNewlinesFunc() { function noNewlineWithCommentFunc (line 30) | func noNewlineWithCommentFunc() { function oneTrailingNewlineWithCommentFunc (line 34) | func oneTrailingNewlineWithCommentFunc() { function oneLeadingNewlineWithCommentFunc (line 39) | func oneLeadingNewlineWithCommentFunc() { function twoLeadingNewlines (line 44) | func twoLeadingNewlines() { // want "unnecessary leading newline" function multiFuncFunc (line 50) | func multiFuncFunc(a int, function multiIfFunc (line 55) | func multiIfFunc() { function notGoFmted (line 73) | func notGoFmted() { // want "unnecessary leading newline" FILE: pkg/golinters/whitespace/testdata/whitespace_cgo.go function _ (line 24) | func _() { function oneLeadingNewline (line 30) | func oneLeadingNewline() { // want "unnecessary leading newline" function oneNewlineAtBothEnds (line 35) | func oneNewlineAtBothEnds() { // want "unnecessary leading newline" function noNewlineFunc (line 41) | func noNewlineFunc() { function oneNewlineFunc (line 44) | func oneNewlineFunc() { function twoNewlinesFunc (line 48) | func twoNewlinesFunc() { function noNewlineWithCommentFunc (line 53) | func noNewlineWithCommentFunc() { function oneTrailingNewlineWithCommentFunc (line 57) | func oneTrailingNewlineWithCommentFunc() { function oneLeadingNewlineWithCommentFunc (line 62) | func oneLeadingNewlineWithCommentFunc() { function twoLeadingNewlines (line 67) | func twoLeadingNewlines() { // want "unnecessary leading newline" function multiFuncFunc (line 73) | func multiFuncFunc(a int, function multiIfFunc (line 78) | func multiIfFunc() { function notGoFmted (line 96) | func notGoFmted() { // want "unnecessary leading newline" FILE: pkg/golinters/whitespace/whitespace.go function New (line 10) | func New(settings *config.WhitespaceSettings) *goanalysis.Linter { FILE: pkg/golinters/whitespace/whitespace_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/wrapcheck/testdata/wrapcheck.go function do (line 8) | func do() error { FILE: pkg/golinters/wrapcheck/testdata/wrapcheck_cgo.go function _ (line 19) | func _() { function _ (line 25) | func _() error { FILE: pkg/golinters/wrapcheck/wrapcheck.go function New (line 10) | func New(settings *config.WrapcheckSettings) *goanalysis.Linter { FILE: pkg/golinters/wrapcheck/wrapcheck_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/golinters/wsl/testdata/fix/in/wsl_v4.go function main (line 11) | func main() { function multiline (line 81) | func multiline(s ...string) error { function f1 (line 85) | func f1() int { function f2 (line 90) | func f2() int { function f3 (line 96) | func f3() int { function onelineShouldNotError (line 110) | func onelineShouldNotError() error { return nil } function multilineCase (line 112) | func multilineCase() { function sliceExpr (line 127) | func sliceExpr() { function indexExpr (line 148) | func indexExpr() { function allowTrailing (line 163) | func allowTrailing(i int) { function ExampleSomeOutput (line 177) | func ExampleSomeOutput() { function IncDecStmt (line 184) | func IncDecStmt() { function AnonymousBlock (line 202) | func AnonymousBlock() { function MultilineComment (line 209) | func MultilineComment() { FILE: pkg/golinters/wsl/testdata/fix/in/wsl_v5.go type T (line 10) | type T struct method Fn (line 18) | func (*T) Fn() int { function NewT (line 14) | func NewT() *T { function FnC (line 22) | func FnC(_ string, fn func() error) error { function strictAppend (line 27) | func strictAppend() { function incDec (line 38) | func incDec() { function assignAndCall (line 47) | func assignAndCall() { function closureInCall (line 58) | func closureInCall() { function assignAfterBlock (line 65) | func assignAfterBlock() { function decl (line 73) | func decl() { FILE: pkg/golinters/wsl/testdata/fix/out/wsl_v4.go function main (line 11) | func main() { function multiline (line 90) | func multiline(s ...string) error { function f1 (line 94) | func f1() int { function f2 (line 99) | func f2() int { function f3 (line 106) | func f3() int { function onelineShouldNotError (line 121) | func onelineShouldNotError() error { return nil } function multilineCase (line 123) | func multilineCase() { function sliceExpr (line 138) | func sliceExpr() { function indexExpr (line 160) | func indexExpr() { function allowTrailing (line 176) | func allowTrailing(i int) { function ExampleSomeOutput (line 190) | func ExampleSomeOutput() { function IncDecStmt (line 197) | func IncDecStmt() { function AnonymousBlock (line 215) | func AnonymousBlock() { function MultilineComment (line 221) | func MultilineComment() { FILE: pkg/golinters/wsl/testdata/fix/out/wsl_v5.go type T (line 10) | type T struct method Fn (line 18) | func (*T) Fn() int { function NewT (line 14) | func NewT() *T { function FnC (line 22) | func FnC(_ string, fn func() error) error { function strictAppend (line 27) | func strictAppend() { function incDec (line 39) | func incDec() { function assignAndCall (line 48) | func assignAndCall() { function closureInCall (line 59) | func closureInCall() { function assignAfterBlock (line 66) | func assignAfterBlock() { function decl (line 75) | func decl() { FILE: pkg/golinters/wsl/testdata/ws_v4_cgo.go function _ (line 24) | func _() { function _ (line 30) | func _() { FILE: pkg/golinters/wsl/testdata/wsl_v4.go function main (line 10) | func main() { function multiline (line 80) | func multiline(s ...string) error { function f1 (line 84) | func f1() int { function f2 (line 89) | func f2() int { function f3 (line 95) | func f3() int { function onelineShouldNotError (line 109) | func onelineShouldNotError() error { return nil } function multilineCase (line 111) | func multilineCase() { function sliceExpr (line 126) | func sliceExpr() { function indexExpr (line 147) | func indexExpr() { function allowTrailing (line 162) | func allowTrailing(i int) { function ExampleSomeOutput (line 176) | func ExampleSomeOutput() { function IncDecStmt (line 183) | func IncDecStmt() { function AnonymousBlock (line 201) | func AnonymousBlock() { function MultilineComment (line 208) | func MultilineComment() { FILE: pkg/golinters/wsl/testdata/wsl_v5.go type T (line 9) | type T struct method Fn (line 17) | func (*T) Fn() int { function NewT (line 13) | func NewT() *T { function FnC (line 21) | func FnC(_ string, fn func() error) error { function strictAppend (line 26) | func strictAppend() { function incDec (line 37) | func incDec() { function assignAndCall (line 46) | func assignAndCall() { function closureInCall (line 57) | func closureInCall() { function assignAfterBlock (line 64) | func assignAfterBlock() { function decl (line 72) | func decl() { FILE: pkg/golinters/wsl/testdata/wsl_v5_config.go function fn1 (line 5) | func fn1(s []string) { FILE: pkg/golinters/wsl/wsl.go function NewV4 (line 15) | func NewV4(settings *config.WSLv4Settings) *goanalysis.Linter { type v5YAML (line 44) | type v5YAML struct function Migration (line 53) | func Migration(old *config.WSLv4Settings) any { FILE: pkg/golinters/wsl/wsl_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { function TestFix (line 13) | func TestFix(t *testing.T) { function TestFixPathPrefix (line 17) | func TestFixPathPrefix(t *testing.T) { FILE: pkg/golinters/wsl/wsl_v5.go function NewV5 (line 11) | func NewV5(settings *config.WSLv5Settings) *goanalysis.Linter { FILE: pkg/golinters/zerologlint/testdata/zerologlint.go function expectWarnings (line 12) | func expectWarnings() { function expectNoWarnings (line 42) | func expectNoWarnings() { function packageNil (line 74) | func packageNil() { FILE: pkg/golinters/zerologlint/testdata/zerologlint_cgo.go function _ (line 22) | func _() { function _ (line 28) | func _() { FILE: pkg/golinters/zerologlint/zerologlint.go function New (line 9) | func New() *goanalysis.Linter { FILE: pkg/golinters/zerologlint/zerologlint_integration_test.go function TestFromTestdata (line 9) | func TestFromTestdata(t *testing.T) { FILE: pkg/goutil/env.go type EnvKey (line 14) | type EnvKey type Env (line 16) | type Env struct method Discover (line 28) | func (e Env) Discover(ctx context.Context) error { method Get (line 42) | func (e Env) Get(k EnvKey) string { function NewEnv (line 21) | func NewEnv(log logutils.Log) *Env { FILE: pkg/goutil/version.go function CheckGoVersion (line 13) | func CheckGoVersion(goVersion string) error { function TrimGoVersion (line 44) | func TrimGoVersion(v string) string { function CleanRuntimeVersion (line 58) | func CleanRuntimeVersion() (string, error) { function cleanRuntimeVersion (line 62) | func cleanRuntimeVersion(rv string) (string, error) { FILE: pkg/goutil/version_test.go function TestCheckGoVersion (line 10) | func TestCheckGoVersion(t *testing.T) { function TestTrimGoVersion (line 66) | func TestTrimGoVersion(t *testing.T) { function Test_cleanRuntimeVersion (line 114) | func Test_cleanRuntimeVersion(t *testing.T) { FILE: pkg/lint/context.go type ContextBuilder (line 15) | type ContextBuilder struct method Build (line 36) | func (cl *ContextBuilder) Build(ctx context.Context, log logutils.Log,... function NewContextBuilder (line 25) | func NewContextBuilder(cfg *config.Config, pkgLoader *PackageLoader, FILE: pkg/lint/linter/config.go constant LastLinter (line 14) | LastLinter = "nolintlint" type DeprecationLevel (line 16) | type DeprecationLevel constant DeprecationNone (line 19) | DeprecationNone DeprecationLevel = iota constant DeprecationWarning (line 20) | DeprecationWarning constant DeprecationError (line 21) | DeprecationError type Deprecation (line 24) | type Deprecation struct type Config (line 32) | type Config struct method WithInternal (line 57) | func (lc *Config) WithInternal() *Config { method ConsiderSlow (line 62) | func (lc *Config) ConsiderSlow() *Config { method IsSlowLinter (line 67) | func (lc *Config) IsSlowLinter() bool { method WithLoadFiles (line 71) | func (lc *Config) WithLoadFiles() *Config { method WithLoadForGoAnalysis (line 76) | func (lc *Config) WithLoadForGoAnalysis() *Config { method WithGroups (line 83) | func (lc *Config) WithGroups(names ...string) *Config { method FromGroup (line 95) | func (lc *Config) FromGroup(name string) bool { method WithURL (line 100) | func (lc *Config) WithURL(url string) *Config { method WithAlternativeNames (line 105) | func (lc *Config) WithAlternativeNames(names ...string) *Config { method WithAutoFix (line 110) | func (lc *Config) WithAutoFix() *Config { method WithChangeTypes (line 115) | func (lc *Config) WithChangeTypes() *Config { method WithSince (line 120) | func (lc *Config) WithSince(version string) *Config { method Deprecated (line 125) | func (lc *Config) Deprecated(message, version string, level Deprecatio... method DeprecatedWarning (line 139) | func (lc *Config) DeprecatedWarning(message, version string, opts ...f... method DeprecatedError (line 143) | func (lc *Config) DeprecatedError(message, version string, opts ...fun... method IsDeprecated (line 147) | func (lc *Config) IsDeprecated() bool { method AllNames (line 151) | func (lc *Config) AllNames() []string { method Name (line 155) | func (lc *Config) Name() string { method WithNoopFallback (line 159) | func (lc *Config) WithNoopFallback(cfg *config.Config, cond func(cfg *... function NewConfig (line 50) | func NewConfig(linter Linter) *Config { function Replacement (line 170) | func Replacement[T any](replacement string, mgr func(T) any, data T) fun... function IsGoLowerThanGo122 (line 209) | func IsGoLowerThanGo122() func(cfg *config.Config) error { function isGoLowerThanGo (line 213) | func isGoLowerThanGo(v string) func(cfg *config.Config) error { FILE: pkg/lint/linter/context.go type Context (line 14) | type Context struct method Settings (line 29) | func (c *Context) Settings() *config.LintersSettings { method ClearTypesInPackages (line 33) | func (c *Context) ClearTypesInPackages() { function clearTypes (line 42) | func clearTypes(p *packages.Package) { FILE: pkg/lint/linter/linter.go type Linter (line 10) | type Linter interface type Noop (line 16) | type Noop struct method Run (line 46) | func (n Noop) Run(_ context.Context, lintCtx *Context) ([]*result.Issu... method Name (line 61) | func (n Noop) Name() string { method Desc (line 65) | func (n Noop) Desc() string { function NewNoop (line 23) | func NewNoop(l Linter, reason string) Noop { function NewNoopDeprecated (line 31) | func NewNoopDeprecated(name string, cfg *config.Config, level Deprecatio... FILE: pkg/lint/lintersdb/builder_linter.go type LinterBuilder (line 127) | type LinterBuilder struct method Build (line 136) | func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, erro... function NewLinterBuilder (line 130) | func NewLinterBuilder() *LinterBuilder { FILE: pkg/lint/lintersdb/builder_plugin_go.go constant goPluginType (line 19) | goPluginType = "goplugin" type AnalyzerPlugin (line 21) | type AnalyzerPlugin interface type PluginGoBuilder (line 26) | type PluginGoBuilder struct method Build (line 36) | func (b *PluginGoBuilder) Build(cfg *config.Config) ([]*linter.Config,... method loadConfig (line 60) | func (b *PluginGoBuilder) loadConfig(cfg *config.Config, name string, ... method getAnalyzerPlugin (line 84) | func (b *PluginGoBuilder) getAnalyzerPlugin(cfg *config.Config, path s... method lookupPlugin (line 108) | func (b *PluginGoBuilder) lookupPlugin(plug *plugin.Plugin, settings a... method lookupAnalyzerPlugin (line 128) | func (b *PluginGoBuilder) lookupAnalyzerPlugin(plug *plugin.Plugin) ([... function NewPluginGoBuilder (line 31) | func NewPluginGoBuilder(log logutils.Log) *PluginGoBuilder { FILE: pkg/lint/lintersdb/builder_plugin_module.go constant modulePluginType (line 15) | modulePluginType = "module" type PluginModuleBuilder (line 18) | type PluginModuleBuilder struct method Build (line 28) | func (b *PluginModuleBuilder) Build(cfg *config.Config) ([]*linter.Con... function NewPluginModuleBuilder (line 23) | func NewPluginModuleBuilder(log logutils.Log) *PluginModuleBuilder { FILE: pkg/lint/lintersdb/manager.go type Builder (line 19) | type Builder interface type Manager (line 25) | type Manager struct method GetLinterConfigs (line 73) | func (m *Manager) GetLinterConfigs(name string) []*linter.Config { method GetAllSupportedLinterConfigs (line 77) | func (m *Manager) GetAllSupportedLinterConfigs() []*linter.Config { method GetEnabledLintersMap (line 81) | func (m *Manager) GetEnabledLintersMap() (map[string]*linter.Config, e... method GetOptimizedLinters (line 96) | func (m *Manager) GetOptimizedLinters() ([]*linter.Config, error) { method build (line 131) | func (m *Manager) build() (map[string]*linter.Config, error) { method combineGoAnalysisLinters (line 207) | func (m *Manager) combineGoAnalysisLinters(linters map[string]*linter.... method verbosePrintLintersStatus (line 263) | func (m *Manager) verbosePrintLintersStatus(lcs map[string]*linter.Con... function NewManager (line 38) | func NewManager(log logutils.Log, cfg *config.Config, builders ...Builde... function linterConfigsToMap (line 276) | func linterConfigsToMap(lcs []*linter.Config) map[string]*linter.Config { FILE: pkg/lint/lintersdb/manager_test.go function TestManager_GetEnabledLintersMap (line 16) | func TestManager_GetEnabledLintersMap(t *testing.T) { function TestManager_GetOptimizedLinters (line 38) | func TestManager_GetOptimizedLinters(t *testing.T) { function TestManager_build (line 66) | func TestManager_build(t *testing.T) { function TestManager_combineGoAnalysisLinters (line 152) | func TestManager_combineGoAnalysisLinters(t *testing.T) { FILE: pkg/lint/lintersdb/validator.go type Validator (line 13) | type Validator struct method Validate (line 23) | func (v Validator) Validate(cfg *config.Config) error { method validateLintersNames (line 38) | func (v Validator) validateLintersNames(cfg *config.Linters) error { method alternativeNamesDeprecation (line 71) | func (v Validator) alternativeNamesDeprecation(cfg *config.Linters) er... function NewValidator (line 17) | func NewValidator(m *Manager) *Validator { FILE: pkg/lint/lintersdb/validator_test.go type validateErrorTestCase (line 11) | type validateErrorTestCase struct type validatorTestCase (line 36) | type validatorTestCase struct function TestValidator_Validate (line 65) | func TestValidator_Validate(t *testing.T) { function TestValidator_Validate_error (line 84) | func TestValidator_Validate_error(t *testing.T) { function TestValidator_validateLintersNames (line 105) | func TestValidator_validateLintersNames(t *testing.T) { function TestValidator_validateLintersNames_error (line 121) | func TestValidator_validateLintersNames_error(t *testing.T) { FILE: pkg/lint/package.go type PackageLoader (line 26) | type PackageLoader struct method Load (line 55) | func (l *PackageLoader) Load(ctx context.Context, linters []*linter.Co... method loadPackages (line 66) | func (l *PackageLoader) loadPackages(ctx context.Context, loadMode pac... method parseLoadedPackagesErrors (line 109) | func (*PackageLoader) parseLoadedPackagesErrors(pkgs []*packages.Packa... method tryParseTestPackage (line 137) | func (l *PackageLoader) tryParseTestPackage(pkg *packages.Package) (na... method filterDuplicatePackages (line 146) | func (l *PackageLoader) filterDuplicatePackages(pkgs []*packages.Packa... method filterTestMainPackages (line 178) | func (l *PackageLoader) filterTestMainPackages(pkgs []*packages.Packag... method debugPrintLoadedPackages (line 193) | func (l *PackageLoader) debugPrintLoadedPackages(pkgs []*packages.Pack... method prepareBuildContext (line 205) | func (l *PackageLoader) prepareBuildContext() { method makeBuildFlags (line 219) | func (l *PackageLoader) makeBuildFlags() []string { function NewPackageLoader (line 42) | func NewPackageLoader(log logutils.Log, cfg *config.Config, args []strin... function buildArgs (line 241) | func buildArgs(args []string) []string { function findLoadMode (line 259) | func findLoadMode(linters []*linter.Config) packages.LoadMode { function stringifyLoadMode (line 268) | func stringifyLoadMode(mode packages.LoadMode) string { FILE: pkg/lint/package_test.go function Test_buildArgs (line 11) | func Test_buildArgs(t *testing.T) { function mustAbs (line 50) | func mustAbs(t *testing.T, p string) string { FILE: pkg/lint/runner.go type processorStat (line 24) | type processorStat struct type Runner (line 29) | type Runner struct method Run (line 130) | func (r *Runner) Run(ctx context.Context, linters []*linter.Config) ([... method runLinterSafe (line 156) | func (r *Runner) runLinterSafe(ctx context.Context, lintCtx *linter.Co... method processLintResults (line 197) | func (r *Runner) processLintResults(inIssues []*result.Issue) []*resul... method printPerProcessorStat (line 225) | func (r *Runner) printPerProcessorStat(stat map[string]processorStat) { method processIssues (line 237) | func (r *Runner) processIssues(issues []*result.Issue, sw *timeutils.S... function NewRunner (line 36) | func NewRunner(log logutils.Log, cfg *config.Config, goenv *goutil.Env, FILE: pkg/logutils/log.go type Log (line 3) | type Log interface type LogLevel (line 14) | type LogLevel constant LogLevelDebug (line 18) | LogLevelDebug LogLevel = 0 constant LogLevelInfo (line 22) | LogLevelInfo LogLevel = 1 constant LogLevelWarn (line 26) | LogLevelWarn LogLevel = 2 constant LogLevelError (line 30) | LogLevelError LogLevel = 3 FILE: pkg/logutils/logutils.go constant EnvTestRun (line 9) | EnvTestRun = "GL_TEST_RUN" constant envDebug (line 16) | envDebug = "GL_DEBUG" constant DebugKeyBinSalt (line 19) | DebugKeyBinSalt = "bin_salt" constant DebugKeyGoModSalt (line 20) | DebugKeyGoModSalt = "gomod_salt" constant DebugKeyConfigReader (line 21) | DebugKeyConfigReader = "config_reader" constant DebugKeyEmpty (line 22) | DebugKeyEmpty = "" constant DebugKeyEnabledLinters (line 23) | DebugKeyEnabledLinters = "enabled_linters" constant DebugKeyExec (line 24) | DebugKeyExec = "exec" constant DebugKeyGoEnv (line 25) | DebugKeyGoEnv = "goenv" constant DebugKeyLintersContext (line 26) | DebugKeyLintersContext = "linters_context" constant DebugKeyLintersDB (line 27) | DebugKeyLintersDB = "lintersdb" constant DebugKeyLoader (line 28) | DebugKeyLoader = "loader" constant DebugKeyPkgCache (line 29) | DebugKeyPkgCache = "pkgcache" constant DebugKeyRunner (line 30) | DebugKeyRunner = "runner" constant DebugKeyStopwatch (line 31) | DebugKeyStopwatch = "stopwatch" constant DebugKeyTest (line 32) | DebugKeyTest = "test" constant DebugKeyCheckstylePrinter (line 37) | DebugKeyCheckstylePrinter = "checkstyle_printer" constant DebugKeyCodeClimatePrinter (line 38) | DebugKeyCodeClimatePrinter = "codeclimate_printer" constant DebugKeySarifPrinter (line 39) | DebugKeySarifPrinter = "sarif_printer" constant DebugKeyTabPrinter (line 40) | DebugKeyTabPrinter = "tab_printer" constant DebugKeyTeamCityPrinter (line 41) | DebugKeyTeamCityPrinter = "teamcity_printer" constant DebugKeyTextPrinter (line 42) | DebugKeyTextPrinter = "text_printer" constant DebugKeyExclusionPaths (line 47) | DebugKeyExclusionPaths = "exclusion_paths" constant DebugKeyExclusionRules (line 48) | DebugKeyExclusionRules = "exclusion_rules" constant DebugKeyFilenameUnadjuster (line 49) | DebugKeyFilenameUnadjuster = "filename_unadjuster" constant DebugKeyGeneratedFileFilter (line 50) | DebugKeyGeneratedFileFilter = "generated_file_filter" constant DebugKeyInvalidIssue (line 51) | DebugKeyInvalidIssue = "invalid_issue" constant DebugKeyMaxFromLinter (line 52) | DebugKeyMaxFromLinter = "max_from_linter" constant DebugKeyMaxSameIssues (line 53) | DebugKeyMaxSameIssues = "max_same_issues" constant DebugKeyNolintFilter (line 54) | DebugKeyNolintFilter = "nolint_filter" constant DebugKeyPathAbsoluter (line 55) | DebugKeyPathAbsoluter = "path_absoluter" constant DebugKeyPathPrettifier (line 56) | DebugKeyPathPrettifier = "path_prettifier" constant DebugKeyPathRelativity (line 57) | DebugKeyPathRelativity = "path_relativity" constant DebugKeySeverityRules (line 58) | DebugKeySeverityRules = "severity_rules" constant DebugKeySourceCode (line 59) | DebugKeySourceCode = "source_code" constant DebugKeyGoAnalysis (line 64) | DebugKeyGoAnalysis = "goanalysis" constant DebugKeyGoAnalysisAnalyze (line 66) | DebugKeyGoAnalysisAnalyze = DebugKeyGoAnalysis + "/analyze" constant DebugKeyGoAnalysisIssuesCache (line 67) | DebugKeyGoAnalysisIssuesCache = DebugKeyGoAnalysis + "/issues/cache" constant DebugKeyGoAnalysisMemory (line 68) | DebugKeyGoAnalysisMemory = DebugKeyGoAnalysis + "/memory" constant DebugKeyGoAnalysisFacts (line 70) | DebugKeyGoAnalysisFacts = DebugKeyGoAnalysis + "/facts" constant DebugKeyGoAnalysisFactsCache (line 71) | DebugKeyGoAnalysisFactsCache = DebugKeyGoAnalysisFacts + "/cache" constant DebugKeyGoAnalysisFactsExport (line 72) | DebugKeyGoAnalysisFactsExport = DebugKeyGoAnalysisFacts + "/export" constant DebugKeyGoAnalysisFactsInherit (line 73) | DebugKeyGoAnalysisFactsInherit = DebugKeyGoAnalysisFacts + "/inherit" constant DebugKeyFormatter (line 78) | DebugKeyFormatter = "formatter" constant DebugKeyFormattersOutput (line 79) | DebugKeyFormattersOutput = "formatters_output" constant DebugKeyLinter (line 80) | DebugKeyLinter = "linter" constant DebugKeyLintersOutput (line 81) | DebugKeyLintersOutput = "linters_output" constant DebugKeyForbidigo (line 83) | DebugKeyForbidigo = "forbidigo" constant DebugKeyGoCritic (line 84) | DebugKeyGoCritic = "gocritic" constant DebugKeyGovet (line 85) | DebugKeyGovet = "govet" constant DebugKeyRevive (line 86) | DebugKeyRevive = "revive" constant DebugKeyStaticcheck (line 87) | DebugKeyStaticcheck = "staticcheck" function getEnabledDebugs (line 90) | func getEnabledDebugs() map[string]bool { type DebugFunc (line 106) | type DebugFunc function nopDebugf (line 108) | func nopDebugf(_ string, _ ...any) {} function Debug (line 110) | func Debug(tag string) DebugFunc { function HaveDebugTag (line 123) | func HaveDebugTag(tag string) bool { function SetupVerboseLog (line 129) | func SetupVerboseLog(log Log, isVerbose bool) { function IsVerbose (line 136) | func IsVerbose() bool { FILE: pkg/logutils/mock.go type MockLog (line 7) | type MockLog struct method Fatalf (line 15) | func (m *MockLog) Fatalf(format string, args ...any) { method Panicf (line 19) | func (m *MockLog) Panicf(format string, args ...any) { method Errorf (line 23) | func (m *MockLog) Errorf(format string, args ...any) { method Warnf (line 27) | func (m *MockLog) Warnf(format string, args ...any) { method Infof (line 31) | func (m *MockLog) Infof(format string, args ...any) { method Child (line 35) | func (m *MockLog) Child(name string) Log { method SetLevel (line 40) | func (m *MockLog) SetLevel(level LogLevel) { method OnFatalf (line 44) | func (m *MockLog) OnFatalf(format string, args ...any) *MockLog { method OnPanicf (line 52) | func (m *MockLog) OnPanicf(format string, args ...any) *MockLog { method OnErrorf (line 60) | func (m *MockLog) OnErrorf(format string, args ...any) *MockLog { method OnWarnf (line 68) | func (m *MockLog) OnWarnf(format string, args ...any) *MockLog { method OnInfof (line 76) | func (m *MockLog) OnInfof(format string, args ...any) *MockLog { function NewMockLog (line 11) | func NewMockLog() *MockLog { FILE: pkg/logutils/stderr_log.go constant envLogLevel (line 15) | envLogLevel = "LOG_LEVEL" constant envLogTimestamp (line 17) | envLogTimestamp = "LOG_TIMESTAMP" type StderrLog (line 22) | type StderrLog struct method prefix (line 52) | func (sl StderrLog) prefix() string { method Fatalf (line 61) | func (sl StderrLog) Fatalf(format string, args ...any) { method Panicf (line 66) | func (sl StderrLog) Panicf(format string, args ...any) { method Errorf (line 71) | func (sl StderrLog) Errorf(format string, args ...any) { method Warnf (line 82) | func (sl StderrLog) Warnf(format string, args ...any) { method Infof (line 90) | func (sl StderrLog) Infof(format string, args ...any) { method Debugf (line 98) | func (sl StderrLog) Debugf(format string, args ...any) { method Child (line 106) | func (sl StderrLog) Child(name string) Log { method SetLevel (line 118) | func (sl *StderrLog) SetLevel(level LogLevel) { function NewStderrLog (line 28) | func NewStderrLog(name string) *StderrLog { function DisableColors (line 124) | func DisableColors(disable bool) { function newLogFormatter (line 128) | func newLogFormatter() *logrus.TextFormatter { FILE: pkg/printers/checkstyle.go constant defaultCheckstyleSeverity (line 17) | defaultCheckstyleSeverity = "error" type Checkstyle (line 21) | type Checkstyle struct method Print (line 40) | func (p *Checkstyle) Print(issues []*result.Issue) error { function NewCheckstyle (line 27) | func NewCheckstyle(log logutils.Log, w io.Writer) *Checkstyle { type checkstyleOutput (line 90) | type checkstyleOutput struct type checkstyleFile (line 96) | type checkstyleFile struct type checkstyleError (line 101) | type checkstyleError struct FILE: pkg/printers/checkstyle_test.go function TestCheckstyle_Print (line 16) | func TestCheckstyle_Print(t *testing.T) { FILE: pkg/printers/codeclimate.go constant defaultCodeClimateSeverity (line 11) | defaultCodeClimateSeverity = "critical" type CodeClimate (line 15) | type CodeClimate struct method Print (line 33) | func (p *CodeClimate) Print(issues []*result.Issue) error { function NewCodeClimate (line 21) | func NewCodeClimate(log logutils.Log, w io.Writer) *CodeClimate { type codeClimateIssue (line 62) | type codeClimateIssue struct FILE: pkg/printers/codeclimate_test.go function TestCodeClimate_Print (line 15) | func TestCodeClimate_Print(t *testing.T) { FILE: pkg/printers/html.go constant templateContent (line 12) | templateContent = ` type htmlIssue (line 118) | type htmlIssue struct type HTML (line 127) | type HTML struct method Print (line 135) | func (p HTML) Print(issues []*result.Issue) error { function NewHTML (line 131) | func NewHTML(w io.Writer) *HTML { FILE: pkg/printers/html_test.go constant expectedHTML (line 14) | expectedHTML = ` function TestHTML_Print (line 120) | func TestHTML_Print(t *testing.T) { FILE: pkg/printers/json.go type JSON (line 12) | type JSON struct method Print (line 29) | func (p JSON) Print(issues []*result.Issue) error { function NewJSON (line 17) | func NewJSON(w io.Writer, rd *report.Data) *JSON { type JSONResult (line 24) | type JSONResult struct FILE: pkg/printers/json_test.go function TestJSON_Print (line 14) | func TestJSON_Print(t *testing.T) { FILE: pkg/printers/junitxml.go type JUnitXML (line 18) | type JUnitXML struct method Print (line 30) | func (p JUnitXML) Print(issues []*result.Issue) error { function NewJUnitXML (line 23) | func NewJUnitXML(w io.Writer, extended bool) *JUnitXML { type testSuitesXML (line 74) | type testSuitesXML struct type testSuiteXML (line 79) | type testSuiteXML struct type testCaseXML (line 88) | type testCaseXML struct type failureXML (line 96) | type failureXML struct FILE: pkg/printers/junitxml_test.go function TestJUnitXML_Print (line 14) | func TestJUnitXML_Print(t *testing.T) { FILE: pkg/printers/printer.go constant outputStdOut (line 19) | outputStdOut = "stdout" constant outputStdErr (line 20) | outputStdErr = "stderr" constant defaultFileMode (line 23) | defaultFileMode = 0o644 type issuePrinter (line 25) | type issuePrinter interface type Printer (line 30) | type Printer struct method Print (line 66) | func (c *Printer) Print(issues []*result.Issue) error { method createWriter (line 182) | func (c *Printer) createWriter(cfg *config.SimpleFormat) (io.Writer, f... function NewPrinter (line 42) | func NewPrinter(log logutils.Log, cfg *config.Formats, reportData *repor... type severitySanitizer (line 208) | type severitySanitizer struct method Sanitize (line 215) | func (s *severitySanitizer) Sanitize(severity string) string { method Err (line 229) | func (s *severitySanitizer) Err() error { FILE: pkg/printers/printer_test.go function unmarshalFile (line 19) | func unmarshalFile(t *testing.T, filename string, v any) { function TestPrinter_Print_stdout (line 29) | func TestPrinter_Print_stdout(t *testing.T) { function TestPrinter_Print_stderr (line 86) | func TestPrinter_Print_stderr(t *testing.T) { function TestPrinter_Print_file (line 122) | func TestPrinter_Print_file(t *testing.T) { function TestPrinter_Print_multiple (line 165) | func TestPrinter_Print_multiple(t *testing.T) { FILE: pkg/printers/sarif.go constant sarifVersion (line 12) | sarifVersion = "2.1.0" constant sarifSchemaURI (line 13) | sarifSchemaURI = "https://schemastore.azurewebsites.net/schemas/json/sar... constant defaultSarifSeverity (line 16) | defaultSarifSeverity = "error" type Sarif (line 21) | type Sarif struct method Print (line 39) | func (p *Sarif) Print(issues []*result.Issue) error { function NewSarif (line 27) | func NewSarif(log logutils.Log, w io.Writer) *Sarif { type SarifOutput (line 81) | type SarifOutput struct type sarifRun (line 87) | type sarifRun struct type sarifTool (line 92) | type sarifTool struct type sarifResult (line 98) | type sarifResult struct type sarifMessage (line 105) | type sarifMessage struct type sarifLocation (line 109) | type sarifLocation struct type sarifPhysicalLocation (line 113) | type sarifPhysicalLocation struct type sarifArtifactLocation (line 118) | type sarifArtifactLocation struct type sarifRegion (line 123) | type sarifRegion struct FILE: pkg/printers/sarif_test.go function TestSarif_Print (line 15) | func TestSarif_Print(t *testing.T) { function TestSarif_Print_empty (line 104) | func TestSarif_Print_empty(t *testing.T) { FILE: pkg/printers/tab.go type Tab (line 16) | type Tab struct method SprintfColored (line 33) | func (p *Tab) SprintfColored(ca color.Attribute, format string, args .... method Print (line 43) | func (p *Tab) Print(issues []*result.Issue) error { method printIssue (line 57) | func (p *Tab) printIssue(issue *result.Issue, w io.Writer) { function NewTab (line 24) | func NewTab(log logutils.Log, w io.Writer, cfg *config.Tab) *Tab { FILE: pkg/printers/tab_test.go function TestTab_Print (line 17) | func TestTab_Print(t *testing.T) { FILE: pkg/printers/teamcity.go constant smallLimit (line 14) | smallLimit = 255 constant largeLimit (line 15) | largeLimit = 4000 constant defaultTeamCitySeverity (line 18) | defaultTeamCitySeverity = "ERROR" type TeamCity (line 22) | type TeamCity struct method Print (line 51) | func (p *TeamCity) Print(issues []*result.Issue) error { function NewTeamCity (line 30) | func NewTeamCity(log logutils.Log, w io.Writer) *TeamCity { type InspectionType (line 97) | type InspectionType struct method Print (line 104) | func (i InspectionType) Print(w io.Writer, escaper *strings.Replacer) ... type InspectionInstance (line 112) | type InspectionInstance struct method Print (line 120) | func (i InspectionInstance) Print(w io.Writer, replacer *strings.Repla... function cutVal (line 128) | func cutVal(s string, limit int) string { FILE: pkg/printers/teamcity_test.go function TestTeamCity_Print (line 15) | func TestTeamCity_Print(t *testing.T) { function TestTeamCity_cutVal (line 94) | func TestTeamCity_cutVal(t *testing.T) { FILE: pkg/printers/text.go type Text (line 16) | type Text struct method SprintfColored (line 35) | func (p *Text) SprintfColored(ca color.Attribute, format string, args ... method Print (line 45) | func (p *Text) Print(issues []*result.Issue) error { method printIssue (line 60) | func (p *Text) printIssue(issue *result.Issue) { method printSourceCode (line 72) | func (p *Text) printSourceCode(issue *result.Issue) { method printUnderLinePointer (line 78) | func (p *Text) printUnderLinePointer(issue *result.Issue) { function NewText (line 25) | func NewText(log logutils.Log, w io.Writer, cfg *config.Text) *Text { FILE: pkg/printers/text_test.go function TestText_Print (line 17) | func TestText_Print(t *testing.T) { FILE: pkg/report/data.go type Warning (line 3) | type Warning struct type LinterData (line 8) | type LinterData struct type Data (line 13) | type Data struct method AddLinter (line 19) | func (d *Data) AddLinter(name string, enabled bool) { FILE: pkg/report/log.go type LogWrapper (line 11) | type LogWrapper struct method Fatalf (line 24) | func (lw LogWrapper) Fatalf(format string, args ...any) { method Panicf (line 28) | func (lw LogWrapper) Panicf(format string, args ...any) { method Errorf (line 32) | func (lw LogWrapper) Errorf(format string, args ...any) { method Warnf (line 37) | func (lw LogWrapper) Warnf(format string, args ...any) { method Infof (line 47) | func (lw LogWrapper) Infof(format string, args ...any) { method Child (line 51) | func (lw LogWrapper) Child(name string) logutils.Log { method SetLevel (line 59) | func (lw LogWrapper) SetLevel(level logutils.LogLevel) { method GoString (line 63) | func (lw LogWrapper) GoString() string { function NewLogWrapper (line 17) | func NewLogWrapper(log logutils.Log, reportData *Data) *LogWrapper { FILE: pkg/result/issue.go type Range (line 12) | type Range struct type Issue (line 16) | type Issue struct method FilePath (line 49) | func (i *Issue) FilePath() string { method Line (line 53) | func (i *Issue) Line() int { method Column (line 57) | func (i *Issue) Column() int { method GetLineRange (line 61) | func (i *Issue) GetLineRange() Range { method Description (line 79) | func (i *Issue) Description() string { method Fingerprint (line 83) | func (i *Issue) Fingerprint() string { FILE: pkg/result/processors/base_rule.go type baseRule (line 13) | type baseRule struct method isEmpty (line 47) | func (r *baseRule) isEmpty() bool { method match (line 51) | func (r *baseRule) match(issue *result.Issue, lines *fsutils.LineCache... method matchLinter (line 76) | func (r *baseRule) matchLinter(issue *result.Issue) bool { method matchSource (line 80) | func (r *baseRule) matchSource(issue *result.Issue, lineCache *fsutils... function newBaseRule (line 23) | func newBaseRule(rule *config.BaseRule, prefix string) baseRule { function parseRules (line 90) | func parseRules[T, V any](rules []T, prefix string, newFn func(*T, strin... FILE: pkg/result/processors/cgo.go type Cgo (line 20) | type Cgo struct method Name (line 30) | func (*Cgo) Name() string { method Process (line 34) | func (p *Cgo) Process(issues []*result.Issue) ([]*result.Issue, error) { method Finish (line 38) | func (*Cgo) Finish() {} method shouldPassIssue (line 40) | func (p *Cgo) shouldPassIssue(issue *result.Issue) (bool, error) { function NewCgo (line 24) | func NewCgo(env *goutil.Env) *Cgo { FILE: pkg/result/processors/diff.go constant envGolangciDiffProcessorPatch (line 17) | envGolangciDiffProcessorPatch = "GOLANGCI_DIFF_PROCESSOR_PATCH" type Diff (line 27) | type Diff struct method Name (line 47) | func (*Diff) Name() string { method Process (line 51) | func (p *Diff) Process(issues []*result.Issue) ([]*result.Issue, error) { method Finish (line 100) | func (*Diff) Finish() {} function NewDiff (line 36) | func NewDiff(cfg *config.Issues) *Diff { FILE: pkg/result/processors/exclusion_generated_file_filter.go type fileSummary (line 14) | type fileSummary struct type GeneratedFileFilter (line 19) | type GeneratedFileFilter struct method Name (line 39) | func (*GeneratedFileFilter) Name() string { method Process (line 43) | func (p *GeneratedFileFilter) Process(issues []*result.Issue) ([]*resu... method Finish (line 51) | func (*GeneratedFileFilter) Finish() {} method shouldPassIssue (line 53) | func (p *GeneratedFileFilter) shouldPassIssue(issue *result.Issue) (bo... function NewGeneratedFileFilter (line 28) | func NewGeneratedFileFilter(mode string) *GeneratedFileFilter { FILE: pkg/result/processors/exclusion_generated_file_filter_test.go function TestGeneratedFileFilter_shouldPassIssue (line 17) | func TestGeneratedFileFilter_shouldPassIssue(t *testing.T) { function TestGeneratedFileFilter_shouldPassIssue_error (line 62) | func TestGeneratedFileFilter_shouldPassIssue_error(t *testing.T) { FILE: pkg/result/processors/exclusion_generated_file_matcher.go constant genCodeGenerated (line 16) | genCodeGenerated = "code generated" constant genDoNotEdit (line 17) | genDoNotEdit = "do not edit" constant genAutoFile (line 20) | genAutoFile = "autogenerated file" constant genSwaggerCodegen (line 26) | genSwaggerCodegen = "* generated by: swagger codegen " type GeneratedFileMatcher (line 33) | type GeneratedFileMatcher struct method IsGeneratedFile (line 46) | func (p *GeneratedFileMatcher) IsGeneratedFile(filepath string, src an... method isGeneratedFileLax (line 68) | func (p *GeneratedFileMatcher) isGeneratedFileLax(doc string) bool { function NewGeneratedFileMatcher (line 39) | func NewGeneratedFileMatcher(mode string) *GeneratedFileMatcher { function isGeneratedFileStrict (line 92) | func isGeneratedFileStrict(file *ast.File) bool { function getComments (line 100) | func getComments(file *ast.File) string { FILE: pkg/result/processors/exclusion_generated_file_matcher_test.go function TestGeneratedFileMatcher_isGeneratedFileLax_generated (line 15) | func TestGeneratedFileMatcher_isGeneratedFileLax_generated(t *testing.T) { function TestGeneratedFileMatcher_isGeneratedFileLax_nonGenerated (line 57) | func TestGeneratedFileMatcher_isGeneratedFileLax_nonGenerated(t *testing... function Test_isGeneratedFileStrict (line 75) | func Test_isGeneratedFileStrict(t *testing.T) { function Test_getComments (line 107) | func Test_getComments(t *testing.T) { function TestGeneratedFileMatcher_IsGeneratedFile_fileWithLongLine (line 147) | func TestGeneratedFileMatcher_IsGeneratedFile_fileWithLongLine(t *testin... FILE: pkg/result/processors/exclusion_paths.go type ExclusionPaths (line 15) | type ExclusionPaths struct method Name (line 67) | func (*ExclusionPaths) Name() string { method Process (line 71) | func (p *ExclusionPaths) Process(issues []*result.Issue) ([]*result.Is... method Finish (line 79) | func (p *ExclusionPaths) Finish() { method shouldPassIssue (line 95) | func (p *ExclusionPaths) shouldPassIssue(issue *result.Issue) bool { function NewExclusionPaths (line 26) | func NewExclusionPaths(log logutils.Log, cfg *config.LinterExclusions) (... FILE: pkg/result/processors/exclusion_paths_test.go function TestExclusionPaths_Process (line 15) | func TestExclusionPaths_Process(t *testing.T) { FILE: pkg/result/processors/exclusion_presets.go function getLinterExclusionPresets (line 128) | func getLinterExclusionPresets(names []string) []config.ExcludeRule { FILE: pkg/result/processors/exclusion_rules.go type ExclusionRules (line 16) | type ExclusionRules struct method Name (line 48) | func (*ExclusionRules) Name() string { method Process (line 52) | func (p *ExclusionRules) Process(issues []*result.Issue) ([]*result.Is... method Finish (line 75) | func (p *ExclusionRules) Finish() { function NewExclusionRules (line 27) | func NewExclusionRules(log logutils.Log, lines *fsutils.LineCache, cfg *... type excludeRule (line 85) | type excludeRule struct method String (line 99) | func (e excludeRule) String() string { function newExcludeRule (line 92) | func newExcludeRule(rule *config.ExcludeRule, prefix string) excludeRule { FILE: pkg/result/processors/exclusion_rules_test.go function TestExclusionRules_Process_multiple (line 14) | func TestExclusionRules_Process_multiple(t *testing.T) { function TestExclusionRules_Process_text (line 93) | func TestExclusionRules_Process_text(t *testing.T) { function TestExclusionRules_Process_empty (line 127) | func TestExclusionRules_Process_empty(t *testing.T) { function TestExclusionRules_Process_caseSensitive_multiple (line 135) | func TestExclusionRules_Process_caseSensitive_multiple(t *testing.T) { function TestExclusionRules_Process_caseSensitive_text (line 210) | func TestExclusionRules_Process_caseSensitive_text(t *testing.T) { function TestExclusionRules_Process_caseSensitive_empty (line 247) | func TestExclusionRules_Process_caseSensitive_empty(t *testing.T) { FILE: pkg/result/processors/filename_unadjuster.go type posMapper (line 19) | type posMapper type adjustMap (line 21) | type adjustMap struct type FilenameUnadjuster (line 33) | type FilenameUnadjuster struct method Name (line 66) | func (*FilenameUnadjuster) Name() string { method Process (line 70) | func (p *FilenameUnadjuster) Process(issues []*result.Issue) ([]*resul... method Finish (line 87) | func (*FilenameUnadjuster) Finish() {} function NewFilenameUnadjuster (line 39) | func NewFilenameUnadjuster(pkgs []*packages.Package, log logutils.Log) *... function processUnadjusterPkg (line 89) | func processUnadjusterPkg(m *adjustMap, pkg *packages.Package, log logut... function processUnadjusterFile (line 98) | func processUnadjusterFile(filename string, m *adjustMap, log logutils.L... FILE: pkg/result/processors/fixer.go constant filePerm (line 33) | filePerm = 0644 type Fixer (line 37) | type Fixer struct method Name (line 55) | func (Fixer) Name() string { method Process (line 59) | func (p Fixer) Process(issues []*result.Issue) ([]*result.Issue, error) { method process (line 79) | func (p Fixer) process(issues []*result.Issue) ([]*result.Issue, error) { method Finish (line 231) | func (Fixer) Finish() {} method printStat (line 233) | func (p Fixer) printStat() { function NewFixer (line 45) | func NewFixer(cfg *config.Config, log logutils.Log, fileCache *fsutils.F... function skipNoTextEdit (line 237) | func skipNoTextEdit(issue *result.Issue) bool { function validateEdits (line 254) | func validateEdits(edits []diff.Edit) ([]diff.Edit, int) { function diff3Conflict (line 288) | func diff3Conflict(path, xlabel, ylabel string, xedits, yedits []diff.Ed... FILE: pkg/result/processors/invalid_issue.go type InvalidIssue (line 15) | type InvalidIssue struct method Name (line 23) | func (InvalidIssue) Name() string { method Process (line 27) | func (p InvalidIssue) Process(issues []*result.Issue) ([]*result.Issue... method Finish (line 39) | func (InvalidIssue) Finish() {} method shouldPassIssue (line 41) | func (p InvalidIssue) shouldPassIssue(issue *result.Issue) (bool, erro... function NewInvalidIssue (line 19) | func NewInvalidIssue(log logutils.Log) *InvalidIssue { function isGoFile (line 61) | func isGoFile(name string) bool { FILE: pkg/result/processors/invalid_issue_test.go function TestInvalidIssue_Process (line 14) | func TestInvalidIssue_Process(t *testing.T) { FILE: pkg/result/processors/issues.go function filterIssues (line 9) | func filterIssues(issues []*result.Issue, filter func(issue *result.Issu... function filterIssuesUnsafe (line 26) | func filterIssuesUnsafe(issues []*result.Issue, filter func(issue *resul... function filterIssuesErr (line 37) | func filterIssuesErr(issues []*result.Issue, filter func(issue *result.I... function transformIssues (line 59) | func transformIssues(issues []*result.Issue, transform func(issue *resul... FILE: pkg/result/processors/max_from_linter.go type MaxFromLinter (line 12) | type MaxFromLinter struct method Name (line 28) | func (*MaxFromLinter) Name() string { method Process (line 32) | func (p *MaxFromLinter) Process(issues []*result.Issue) ([]*result.Iss... method Finish (line 44) | func (p *MaxFromLinter) Finish() { function NewMaxFromLinter (line 19) | func NewMaxFromLinter(limit int, log logutils.Log, cfg *config.Config) *... FILE: pkg/result/processors/max_from_linter_test.go function TestMaxFromLinter (line 10) | func TestMaxFromLinter(t *testing.T) { FILE: pkg/result/processors/max_per_file_from_linter.go type MaxPerFileFromLinter (line 17) | type MaxPerFileFromLinter struct method Name (line 39) | func (*MaxPerFileFromLinter) Name() string { method Process (line 43) | func (p *MaxPerFileFromLinter) Process(issues []*result.Issue) ([]*res... method Finish (line 60) | func (*MaxPerFileFromLinter) Finish() {} function NewMaxPerFileFromLinter (line 22) | func NewMaxPerFileFromLinter(cfg *config.Config) *MaxPerFileFromLinter { type fileLinterCounter (line 62) | type fileLinterCounter method GetCount (line 64) | func (f fileLinterCounter) GetCount(issue *result.Issue) int { method Increment (line 68) | func (f fileLinterCounter) Increment(issue *result.Issue) { method getCounter (line 72) | func (f fileLinterCounter) getCounter(issue *result.Issue) map[string]... FILE: pkg/result/processors/max_per_file_from_linter_test.go function newFromLinterIssue (line 10) | func newFromLinterIssue(linterName string) *result.Issue { function TestMaxPerFileFromLinterUnlimited (line 16) | func TestMaxPerFileFromLinterUnlimited(t *testing.T) { function TestMaxPerFileFromLinter (line 23) | func TestMaxPerFileFromLinter(t *testing.T) { FILE: pkg/result/processors/max_same_issues.go type MaxSameIssues (line 14) | type MaxSameIssues struct method Name (line 30) | func (*MaxSameIssues) Name() string { method Process (line 34) | func (p *MaxSameIssues) Process(issues []*result.Issue) ([]*result.Iss... method Finish (line 46) | func (p *MaxSameIssues) Finish() { function NewMaxSameIssues (line 21) | func NewMaxSameIssues(limit int, log logutils.Log, cfg *config.Config) *... type kv (line 55) | type kv struct function walkStringToIntMapSortedByValue (line 60) | func walkStringToIntMapSortedByValue(m map[string]int, walk func(k strin... FILE: pkg/result/processors/max_same_issues_test.go function TestMaxSameIssues (line 11) | func TestMaxSameIssues(t *testing.T) { FILE: pkg/result/processors/nolint_filter.go type ignoredRange (line 24) | type ignoredRange struct method doesMatch (line 32) | func (i *ignoredRange) doesMatch(issue *result.Issue) bool { type fileData (line 60) | type fileData struct type NolintFilter (line 65) | type NolintFilter struct method Name (line 87) | func (*NolintFilter) Name() string { method Process (line 91) | func (p *NolintFilter) Process(issues []*result.Issue) ([]*result.Issu... method Finish (line 97) | func (p *NolintFilter) Finish() { method shouldPassIssue (line 107) | func (p *NolintFilter) shouldPassIssue(issue *result.Issue) (bool, err... method getOrCreateFileData (line 142) | func (p *NolintFilter) getOrCreateFileData(issue *result.Issue) *fileD... method buildIgnoredRangesForFile (line 169) | func (p *NolintFilter) buildIgnoredRangesForFile(f *ast.File, fset *to... method extractFileCommentsInlineRanges (line 190) | func (p *NolintFilter) extractFileCommentsInlineRanges(fset *token.Fil... method extractInlineRangeFromComment (line 204) | func (p *NolintFilter) extractInlineRangeFromComment(text string, g as... function NewNolintFilter (line 76) | func NewNolintFilter(log logutils.Log, dbManager *lintersdb.Manager, ena... type rangeExpander (line 256) | type rangeExpander struct method Visit (line 262) | func (e *rangeExpander) Visit(node ast.Node) ast.Visitor { type sortWithNolintlintLast (line 300) | type sortWithNolintlintLast method Len (line 302) | func (issues sortWithNolintlintLast) Len() int { method Less (line 306) | func (issues sortWithNolintlintLast) Less(i, j int) bool { method Swap (line 310) | func (issues sortWithNolintlintLast) Swap(i, j int) { FILE: pkg/result/processors/nolint_filter_test.go function newNolintFileIssue (line 19) | func newNolintFileIssue(line int, fromLinter string) *result.Issue { function newNolint2FileIssue (line 29) | func newNolint2FileIssue(line int) *result.Issue { function newTestNolintFilter (line 35) | func newTestNolintFilter(log logutils.Log) *NolintFilter { function getMockLog (line 41) | func getMockLog() *logutils.MockLog { function TestTestNolintFilter_Process (line 47) | func TestTestNolintFilter_Process(t *testing.T) { function TestNolintFilter_Process_invalidLinterName (line 127) | func TestNolintFilter_Process_invalidLinterName(t *testing.T) { function TestNolintFilter_Process_invalidLinterNameWithViolationOnTheSameLine (line 161) | func TestNolintFilter_Process_invalidLinterNameWithViolationOnTheSameLin... function Test_ignoredRange_doesMatch (line 182) | func Test_ignoredRange_doesMatch(t *testing.T) { function TestNolintFilter_Process_wholeFile (line 243) | func TestNolintFilter_Process_wholeFile(t *testing.T) { function TestNolintFilter_Process_unused (line 265) | func TestNolintFilter_Process_unused(t *testing.T) { FILE: pkg/result/processors/path_absoluter.go type PathAbsoluter (line 13) | type PathAbsoluter struct method Name (line 21) | func (*PathAbsoluter) Name() string { method Process (line 25) | func (p *PathAbsoluter) Process(issues []*result.Issue) ([]*result.Iss... method Finish (line 44) | func (*PathAbsoluter) Finish() {} function NewPathAbsoluter (line 17) | func NewPathAbsoluter(log logutils.Log) *PathAbsoluter { FILE: pkg/result/processors/path_prettifier.go type PathPrettifier (line 16) | type PathPrettifier struct method Name (line 29) | func (*PathPrettifier) Name() string { method Process (line 33) | func (p *PathPrettifier) Process(issues []*result.Issue) ([]*result.Is... method Finish (line 51) | func (*PathPrettifier) Finish() {} function NewPathPrettifier (line 22) | func NewPathPrettifier(log logutils.Log, cfg *config.Output) *PathPretti... FILE: pkg/result/processors/path_prettifier_test.go function newPPIssue (line 16) | func newPPIssue(fn, rp string) *result.Issue { function TestPathPrettifier_Process (line 23) | func TestPathPrettifier_Process(t *testing.T) { FILE: pkg/result/processors/path_relativity.go type PathRelativity (line 16) | type PathRelativity struct method Name (line 35) | func (*PathRelativity) Name() string { method Process (line 39) | func (p *PathRelativity) Process(issues []*result.Issue) ([]*result.Is... method Finish (line 60) | func (*PathRelativity) Finish() {} function NewPathRelativity (line 22) | func NewPathRelativity(log logutils.Log, basePath string) (*PathRelativi... FILE: pkg/result/processors/path_shortener.go type PathShortener (line 15) | type PathShortener struct method Name (line 28) | func (PathShortener) Name() string { method Process (line 32) | func (p PathShortener) Process(issues []*result.Issue) ([]*result.Issu... method Finish (line 41) | func (PathShortener) Finish() {} function NewPathShortener (line 19) | func NewPathShortener() *PathShortener { FILE: pkg/result/processors/processor.go constant typeCheckName (line 7) | typeCheckName = "typecheck" type Processor (line 9) | type Processor interface FILE: pkg/result/processors/processor_test.go type issueTestCase (line 13) | type issueTestCase struct function newIssueFromIssueTestCase (line 21) | func newIssueFromIssueTestCase(c issueTestCase) *result.Issue { function newIssueFromTextTestCase (line 34) | func newIssueFromTextTestCase(text string) *result.Issue { function process (line 40) | func process(t *testing.T, p Processor, issues ...*result.Issue) []*resu... function processAssertSame (line 48) | func processAssertSame(t *testing.T, p Processor, issues ...*result.Issu... function processAssertEmpty (line 55) | func processAssertEmpty(t *testing.T, p Processor, issues ...*result.Iss... FILE: pkg/result/processors/severity.go constant severityFromLinter (line 12) | severityFromLinter = "@linter" type Severity (line 20) | type Severity struct method Name (line 44) | func (p *Severity) Name() string { return p.name } method Process (line 46) | func (p *Severity) Process(issues []*result.Issue) ([]*result.Issue, e... method Finish (line 54) | func (*Severity) Finish() {} method transform (line 56) | func (p *Severity) transform(issue *result.Issue) *result.Issue { function NewSeverity (line 31) | func NewSeverity(log logutils.Log, lines *fsutils.LineCache, cfg *config... type severityRule (line 76) | type severityRule struct function newSeverityRule (line 81) | func newSeverityRule(rule *config.SeverityRule, prefix string) severityR... FILE: pkg/result/processors/severity_test.go function TestSeverity_multiple (line 15) | func TestSeverity_multiple(t *testing.T) { function TestSeverity_text (line 129) | func TestSeverity_text(t *testing.T) { function TestSeverity_onlyDefault (line 163) | func TestSeverity_onlyDefault(t *testing.T) { function TestSeverity_empty (line 205) | func TestSeverity_empty(t *testing.T) { function TestSeverity_caseSensitive (line 211) | func TestSeverity_caseSensitive(t *testing.T) { function TestSeverity_transform (line 258) | func TestSeverity_transform(t *testing.T) { FILE: pkg/result/processors/sort_results.go constant orderNameFile (line 14) | orderNameFile = "file" constant orderNameLinter (line 15) | orderNameLinter = "linter" constant orderNameSeverity (line 16) | orderNameSeverity = "severity" constant less (line 20) | less = iota - 1 constant equal (line 21) | equal constant greater (line 22) | greater type issueComparator (line 27) | type issueComparator type SortResults (line 33) | type SortResults struct method Name (line 54) | func (SortResults) Name() string { return "sort_results" } method Process (line 57) | func (p SortResults) Process(issues []*result.Issue) ([]*result.Issue,... method Finish (line 82) | func (SortResults) Finish() {} function NewSortResults (line 39) | func NewSortResults(cfg *config.Output) *SortResults { function byFileName (line 84) | func byFileName(a, b *result.Issue) int { function byLine (line 88) | func byLine(a, b *result.Issue) int { function byColumn (line 92) | func byColumn(a, b *result.Issue) int { function byLinter (line 96) | func byLinter(a, b *result.Issue) int { function bySeverity (line 100) | func bySeverity(a, b *result.Issue) int { function severityCompare (line 104) | func severityCompare(a, b string) int { function numericCompare (line 123) | func numericCompare(a, b int) int { function mergeComparators (line 132) | func mergeComparators(comps ...issueComparator) issueComparator { FILE: pkg/result/processors/sort_results_test.go type compareTestCase (line 74) | type compareTestCase struct function testCompareValues (line 79) | func testCompareValues(t *testing.T, cmp issueComparator, name string, t... function Test_byLine (line 91) | func Test_byLine(t *testing.T) { function Test_byFileName (line 107) | func Test_byFileName(t *testing.T) { function Test_byColumn (line 122) | func Test_byColumn(t *testing.T) { function Test_byLinter (line 137) | func Test_byLinter(t *testing.T) { function Test_bySeverity (line 152) | func Test_bySeverity(t *testing.T) { function Test_mergeComparators (line 169) | func Test_mergeComparators(t *testing.T) { function Test_numericCompare (line 186) | func Test_numericCompare(t *testing.T) { function TestSortResults_Process (line 212) | func TestSortResults_Process(t *testing.T) { function compToString (line 225) | func compToString(c int) string { FILE: pkg/result/processors/source_code.go type SourceCode (line 18) | type SourceCode struct method Name (line 30) | func (SourceCode) Name() string { method Process (line 34) | func (p SourceCode) Process(issues []*result.Issue) ([]*result.Issue, ... method Finish (line 38) | func (SourceCode) Finish() {} method transform (line 40) | func (p SourceCode) transform(issue *result.Issue) *result.Issue { function NewSourceCode (line 23) | func NewSourceCode(lc *fsutils.LineCache, log logutils.Log) *SourceCode { FILE: pkg/result/processors/testdata/exclusion_generated_file_filter/exclude_doc.go function PrintString (line 8) | func PrintString(s string) { FILE: pkg/result/processors/testdata/exclusion_generated_file_filter/go_strict_invalid.go function _ (line 4) | func _() { FILE: pkg/result/processors/testdata/nolint_filter/apply_to_unknown.go function bar (line 3) | func bar() { FILE: pkg/result/processors/testdata/nolint_filter/bad_names.go function RetErr (line 5) | func RetErr() error { function MissedErrorCheck (line 9) | func MissedErrorCheck() { function MissedErrorCheck2 (line 14) | func MissedErrorCheck2() { function _ (line 18) | func _() { FILE: pkg/result/processors/testdata/nolint_filter/nolint.go function nolintFuncByPrecedingComment (line 20) | func nolintFuncByPrecedingComment() *string { function nolintFuncByPrecedingMultilineComment1 (line 27) | func nolintFuncByPrecedingMultilineComment1() *string { function nolintFuncByPrecedingMultilineComment2 (line 34) | func nolintFuncByPrecedingMultilineComment2() *string { function nolintFuncByPrecedingMultilineComment3 (line 42) | func nolintFuncByPrecedingMultilineComment3() *string { FILE: pkg/result/processors/testdata/nolint_filter/nolint2.go function noTransitiveExpanding (line 8) | func noTransitiveExpanding() { function nolintFuncByInlineCommentDoesNotWork (line 14) | func nolintFuncByInlineCommentDoesNotWork() { //nolint:errcheck FILE: pkg/result/processors/testdata/nolint_filter/whole_file.go function RetError (line 4) | func RetError() error { function MissedErrorCheck1 (line 8) | func MissedErrorCheck1() { function jo (line 12) | func jo(v, w bool) bool { FILE: pkg/result/processors/uniq_by_line.go constant uniqByLineLimit (line 7) | uniqByLineLimit = 1 type UniqByLine (line 12) | type UniqByLine struct method Name (line 24) | func (*UniqByLine) Name() string { method Process (line 28) | func (p *UniqByLine) Process(issues []*result.Issue) ([]*result.Issue,... method Finish (line 36) | func (*UniqByLine) Finish() {} method shouldPassIssue (line 38) | func (p *UniqByLine) shouldPassIssue(issue *result.Issue) bool { function NewUniqByLine (line 17) | func NewUniqByLine(enable bool) *UniqByLine { type fileLineCounter (line 48) | type fileLineCounter method GetCount (line 50) | func (f fileLineCounter) GetCount(issue *result.Issue) int { method Increment (line 54) | func (f fileLineCounter) Increment(issue *result.Issue) { method getCounter (line 58) | func (f fileLineCounter) getCounter(issue *result.Issue) map[int]int { FILE: pkg/result/processors/uniq_by_line_test.go function newULIssue (line 10) | func newULIssue(file string, line int) *result.Issue { function TestUniqByLine (line 19) | func TestUniqByLine(t *testing.T) { function TestUniqByLineDisabled (line 31) | func TestUniqByLineDisabled(t *testing.T) { FILE: pkg/timeutils/stopwatch.go constant noStagesText (line 13) | noStagesText = "no stages" type Stopwatch (line 15) | type Stopwatch struct method stageDurationsSorted (line 38) | func (s *Stopwatch) stageDurationsSorted() []stageDuration { method sprintStages (line 52) | func (s *Stopwatch) sprintStages() string { method sprintTopStages (line 67) | func (s *Stopwatch) sprintTopStages(n int) string { method Print (line 83) | func (s *Stopwatch) Print() { method PrintStages (line 93) | func (s *Stopwatch) PrintStages() { method PrintTopStages (line 101) | func (s *Stopwatch) PrintTopStages(n int) { method TrackStage (line 109) | func (s *Stopwatch) TrackStage(name string, f func()) { method TrackStageErr (line 118) | func (s *Stopwatch) TrackStageErr(name string, f func() error) error { function NewStopwatch (line 24) | func NewStopwatch(name string, log logutils.Log) *Stopwatch { type stageDuration (line 33) | type stageDuration struct function TrackStage (line 129) | func TrackStage[T any](s *Stopwatch, name string, f func() (T, error)) (... FILE: scripts/gen_github_action_config/main.go constant noPatch (line 18) | noPatch = -1 function main (line 20) | func main() { function run (line 26) | func run(ctx context.Context) error { function generate (line 67) | func generate(allReleases []release, minAllowedVersion version, dest str... function fetchAllReleases (line 90) | func fetchAllReleases(ctx context.Context) ([]release, error) { function buildConfig (line 136) | func buildConfig(releases []release, minAllowedVersion version) (*action... function findLinuxAssetURL (line 204) | func findLinuxAssetURL(ver *version, releaseAssets []releaseAsset) error { function parseVersion (line 216) | func parseVersion(s string) (*version, error) { FILE: scripts/gen_github_action_config/main_test.go function Test_buildConfig (line 13) | func Test_buildConfig(t *testing.T) { function unmarshalRelease (line 60) | func unmarshalRelease(t *testing.T, filename string) []release { FILE: scripts/gen_github_action_config/types.go type versionConfig (line 5) | type versionConfig struct type actionConfig (line 11) | type actionConfig struct type version (line 15) | type version struct method String (line 19) | func (v version) String() string { method isAfterOrEq (line 29) | func (v version) isAfterOrEq(vv *version) bool { type release (line 41) | type release struct type releaseAsset (line 48) | type releaseAsset struct FILE: scripts/print_ast/main.go function main (line 11) | func main() { FILE: scripts/website/copy_jsonschema/main.go function main (line 15) | func main() { function copySchemas (line 22) | func copySchemas() error { function copyLatestSchema (line 43) | func copyLatestSchema(dstDir string) error { function copyFile (line 71) | func copyFile(dst, src string) error { FILE: scripts/website/dump_info/cmd_help.go function saveCLIHelp (line 14) | func saveCLIHelp(ctx context.Context, dst string) error { function getCmdHelp (line 94) | func getCmdHelp(ctx context.Context, names ...string) (string, error) { FILE: scripts/website/dump_info/default_exclusions.go function saveDefaultExclusions (line 8) | func saveDefaultExclusions(dst string) error { FILE: scripts/website/dump_info/formatters.go function saveFormatters (line 14) | func saveFormatters(dst string) error { FILE: scripts/website/dump_info/linters.go function saveLinters (line 14) | func saveLinters(dst string) error { FILE: scripts/website/dump_info/main.go function main (line 12) | func main() { function saveToJSONFile (line 41) | func saveToJSONFile(dst string, data any) error { FILE: scripts/website/dump_info/thanks.go constant hostGitHub (line 16) | hostGitHub = "github" constant hostGitLab (line 17) | hostGitLab = "gitlab" constant hostCodeberg (line 18) | hostCodeberg = "codeberg" type authorDetails (line 21) | type authorDetails struct function saveThanksList (line 28) | func saveThanksList(dst string) error { function getThanksList (line 32) | func getThanksList() []*authorDetails { type authorInfo (line 109) | type authorInfo struct method FromGitHub (line 176) | func (i authorInfo) FromGitHub() bool { method FromGitLab (line 180) | func (i authorInfo) FromGitLab() bool { method FromCodeberg (line 184) | func (i authorInfo) FromCodeberg() bool { function extractInfo (line 114) | func extractInfo(lc *linter.Config) authorInfo { FILE: scripts/website/dump_info/thanks_test.go type FakeLinter (line 13) | type FakeLinter struct method Run (line 17) | func (*FakeLinter) Run(_ context.Context, _ *linter.Context) ([]*resul... method Name (line 21) | func (f *FakeLinter) Name() string { method Desc (line 25) | func (*FakeLinter) Desc() string { function Test_extractInfo (line 29) | func Test_extractInfo(t *testing.T) { FILE: scripts/website/expand_templates/changelog.go function copyChangelogs (line 9) | func copyChangelogs(dir string) error { function copyChangelog (line 25) | func copyChangelog(src, dst string) error { FILE: scripts/website/expand_templates/configuration.go constant keyLinters (line 19) | keyLinters = "linters" constant keyFormatters (line 20) | keyFormatters = "formatters" constant keySettings (line 21) | keySettings = "settings" type SettingSnippets (line 24) | type SettingSnippets struct type ExampleSnippetsExtractor (line 30) | type ExampleSnippetsExtractor struct method GetExampleSnippets (line 42) | func (e *ExampleSnippetsExtractor) GetExampleSnippets() (*SettingSnipp... method extractExampleSnippets (line 56) | func (e *ExampleSnippetsExtractor) extractExampleSnippets(example []by... method getSettingSections (line 198) | func (e *ExampleSnippetsExtractor) getSettingSections(node, nextNode *... function NewExampleSnippetsExtractor (line 35) | func NewExampleSnippetsExtractor() *ExampleSnippetsExtractor { function hasSettings (line 273) | func hasSettings(name string) bool { FILE: scripts/website/expand_templates/configuration_test.go function Test_ExampleSnippetsExtractor_GetExampleSnippets (line 10) | func Test_ExampleSnippetsExtractor_GetExampleSnippets(t *testing.T) { FILE: scripts/website/expand_templates/main.go function main (line 13) | func main() { function saveTmp (line 27) | func saveTmp(tmpDir string) error { function saveData (line 51) | func saveData(dir string) error { function readJSONFile (line 85) | func readJSONFile[T any](src string) (T, error) { function saveToJSONFile (line 104) | func saveToJSONFile(dst string, data any) error { FILE: scripts/website/expand_templates/plugins.go function copyPluginReference (line 9) | func copyPluginReference(dir string) error { FILE: scripts/website/github/github.go constant endpoint (line 11) | endpoint = "https://api.github.com/repos/golangci/golangci-lint/releases... type releaseInfo (line 13) | type releaseInfo struct function GetLatestVersion (line 18) | func GetLatestVersion() (string, error) { FILE: scripts/website/types/types.go type CLIHelp (line 7) | type CLIHelp struct type ExcludeRule (line 23) | type ExcludeRule struct type Deprecation (line 31) | type Deprecation struct type LinterWrapper (line 40) | type LinterWrapper struct method IsDeprecated (line 61) | func (l *LinterWrapper) IsDeprecated() bool { FILE: test/bench/bench_test.go constant binName (line 25) | binName = "golangci-lint-bench" type repo (line 27) | type repo struct type metrics (line 32) | type metrics struct function Benchmark_linters (line 37) | func Benchmark_linters(b *testing.B) { function Benchmark_golangciLint (line 75) | func Benchmark_golangciLint(b *testing.B) { function getAllRepositories (line 112) | func getAllRepositories(tb testing.TB) []repo { function cloneGithubProject (line 152) | func cloneGithubProject(tb testing.TB, benchRoot, owner, name string) st... function launch (line 169) | func launch(tb testing.TB, run func(testing.TB, string, []string), args ... function run (line 190) | func run(tb testing.TB, name string, args []string) { function countGoLines (line 208) | func countGoLines(tb testing.TB) int { function getLinterMemoryMB (line 230) | func getLinterMemoryMB(tb testing.TB) (int, error) { function trackPeakMemoryUsage (line 283) | func trackPeakMemoryUsage(tb testing.TB, doneCh <-chan struct{}) chan int { function installGolangCILint (line 315) | func installGolangCILint(tb testing.TB) { function findMakefile (line 347) | func findMakefile(tb testing.TB) string { function getLinterNames (line 371) | func getLinterNames(tb testing.TB, fastOnly bool) []string { FILE: test/configuration_file_test.go function Test_validateTestConfigurationFiles (line 17) | func Test_validateTestConfigurationFiles(t *testing.T) { function Test_validateTestConfigurationFilesLinters (line 22) | func Test_validateTestConfigurationFilesLinters(t *testing.T) { function validateTestConfigurationFiles (line 27) | func validateTestConfigurationFiles(schemaPath, targetDir string) error { function loadSchema (line 60) | func loadSchema(schemaPath string) (*jsonschema.Schema, error) { function findConfigurationFiles (line 88) | func findConfigurationFiles(targetDir string) ([]string, error) { function decodeYamlFile (line 109) | func decodeYamlFile(filename string) (any, error) { FILE: test/enabled_linters_test.go function TestEnabledLinters (line 18) | func TestEnabledLinters(t *testing.T) { function getEnabledByDefaultLintersExcept (line 130) | func getEnabledByDefaultLintersExcept(t *testing.T, excludes ...string) ... function getEnabledByDefaultLintersWith (line 147) | func getEnabledByDefaultLintersWith(t *testing.T, includes ...string) []... function getAllLintersFromGroupFast (line 173) | func getAllLintersFromGroupFast(t *testing.T) []string { FILE: test/fix_test.go function TestFix (line 9) | func TestFix(t *testing.T) { function TestFix_pathPrefix (line 13) | func TestFix_pathPrefix(t *testing.T) { FILE: test/linters_test.go constant testdataDir (line 11) | testdataDir = "testdata" function TestSourcesFromTestdata (line 13) | func TestSourcesFromTestdata(t *testing.T) { function TestTypecheck (line 17) | func TestTypecheck(t *testing.T) { FILE: test/output_test.go constant expectedJSONOutput (line 16) | expectedJSONOutput = `{"Issues":[{"FromLinter":"misspell","Text":"` + "`... function TestOutput_lineNumber (line 18) | func TestOutput_lineNumber(t *testing.T) { function TestOutput_Stderr (line 37) | func TestOutput_Stderr(t *testing.T) { function TestOutput_File (line 53) | func TestOutput_File(t *testing.T) { function TestOutput_Multiple (line 75) | func TestOutput_Multiple(t *testing.T) { FILE: test/run_test.go constant minimalPkg (line 16) | minimalPkg = "minimalpkg" function TestAutogeneratedNoIssues (line 18) | func TestAutogeneratedNoIssues(t *testing.T) { function TestEmptyDirRun (line 49) | func TestEmptyDirRun(t *testing.T) { function TestNotExistingDirRun (line 61) | func TestNotExistingDirRun(t *testing.T) { function TestNoLintersEnabled (line 73) | func TestNoLintersEnabled(t *testing.T) { function TestSymlinkLoop (line 91) | func TestSymlinkLoop(t *testing.T) { function TestTimeout (line 101) | func TestTimeout(t *testing.T) { function TestTimeoutInConfig (line 114) | func TestTimeoutInConfig(t *testing.T) { function TestTestsAreLintedByDefault (line 134) | func TestTestsAreLintedByDefault(t *testing.T) { function TestCgoOk (line 143) | func TestCgoOk(t *testing.T) { function TestCgoWithIssues (line 158) | func TestCgoWithIssues(t *testing.T) { function TestLineDirective (line 203) | func TestLineDirective(t *testing.T) { function TestLineDirectiveProcessedFiles (line 283) | func TestLineDirectiveProcessedFiles(t *testing.T) { function TestUnsafeOk (line 337) | func TestUnsafeOk(t *testing.T) { function TestSortedResults (line 372) | func TestSortedResults(t *testing.T) { function TestIdentifierUsedOnlyInTests (line 391) | func TestIdentifierUsedOnlyInTests(t *testing.T) { function TestUnusedCheckExported (line 406) | func TestUnusedCheckExported(t *testing.T) { function TestConfigFileIsDetected (line 417) | func TestConfigFileIsDetected(t *testing.T) { function TestEnableAllFastAndEnableCanCoexist (line 451) | func TestEnableAllFastAndEnableCanCoexist(t *testing.T) { function TestAbsPathDirAnalysis (line 487) | func TestAbsPathDirAnalysis(t *testing.T) { function TestAbsPathFileAnalysis (line 506) | func TestAbsPathFileAnalysis(t *testing.T) { function TestPathPrefix (line 524) | func TestPathPrefix(t *testing.T) { FILE: test/testdata/autogenerated/do_not_edit.go function unusedFunc (line 4) | func unusedFunc() {} FILE: test/testdata/autogenerated/mockgen.go function UnusedFunc2 (line 6) | func UnusedFunc2() {} FILE: test/testdata/cgo/main.go function Example (line 19) | func Example() { FILE: test/testdata/cgo_with_issues/main.go function Example (line 18) | func Example() { function notFormattedForGofmt (line 25) | func notFormattedForGofmt() { function errorForRevive (line 28) | func errorForRevive(p *int) error { FILE: test/testdata/default_exclude.go function ExportedFunc1 (line 10) | func ExportedFunc1() { function ExportedFunc2 (line 16) | func ExportedFunc2() { function IgnoreAll (line 20) | func IgnoreAll() { // want "exported: exported function IgnoreAll should... FILE: test/testdata/fix/in/multiple-issues-fix.go function main (line 8) | func main() { FILE: test/testdata/fix/out/multiple-issues-fix.go function main (line 8) | func main() { FILE: test/testdata/linedirective/hello.go function _ (line 9) | func _() { function main (line 15) | func main() { function a (line 21) | func a() { function b (line 25) | func b() { function c (line 29) | func c(){ function wsl (line 33) | func wsl() bool { function notFormatted (line 38) | func notFormatted() { FILE: test/testdata/minimalpkg/minimalpkg.go function SomeTestFunc (line 5) | func SomeTestFunc() {} FILE: test/testdata/notcompiles/typecheck_many_issues.go function TypeCheckBadCalls (line 7) | func TypeCheckBadCalls() { FILE: test/testdata/output.go function Misspell (line 5) | func Misspell() { FILE: test/testdata/path_except.go function Forbidigo (line 11) | func Forbidigo() { FILE: test/testdata/path_except_test.go function TestForbidigo (line 11) | func TestForbidigo(t *testing.T) { FILE: test/testdata/quicktemplate/hello.qtpl.go function StreamHello (line 26) | func StreamHello(qw422016 *qt422016.Writer, name string) { function WriteHello (line 39) | func WriteHello(qq422016 qtio422016.Writer, name string) { function Hello (line 50) | func Hello(name string) string { FILE: test/testdata/sort_results/main.go function returnError (line 8) | func returnError() error { function Example (line 14) | func Example() { FILE: test/testdata/unsafe/pkg.go function F (line 10) | func F() { FILE: test/testdata/used_only_in_tests/a.go function f (line 3) | func f() bool { FILE: test/testdata/used_only_in_tests/a_test.go function TestF (line 5) | func TestF(t *testing.T) { FILE: test/testdata/withconfig/pkg/pkg.go function SomeTestFunc (line 3) | func SomeTestFunc() {} FILE: test/testdata/withtests/p.go function init (line 5) | func init() { FILE: test/testdata/withtests/p_test.go function TestSomething (line 8) | func TestSomething(t *testing.T) { FILE: test/testdata/withxtest/p_test.go function WithGolintIssues (line 5) | func WithGolintIssues(b bool) { //nolint:staticcheck FILE: test/testdata_etc/abspath/with_issue.go function f (line 5) | func f() { FILE: test/testdata_etc/unused_exported/lib/foo.go function PublicFunc (line 7) | func PublicFunc() { function privateFunc (line 11) | func privateFunc() { FILE: test/testdata_etc/unused_exported/main.go function main (line 7) | func main() { FILE: test/testshared/analysis.go constant keyword (line 21) | keyword = "want" type jsonResult (line 23) | type jsonResult struct type expectation (line 27) | type expectation struct type key (line 33) | type key struct function Analyze (line 41) | func Analyze(t *testing.T, sourcePath string, rawData []byte) { function parseComments (line 75) | func parseComments(sourcePath string, fileData []byte) (map[key][]expect... function parseExpectations (line 115) | func parseExpectations(text string) (lineDelta int, expects []expectatio... function checkMessage (line 176) | func checkMessage(t *testing.T, want map[key][]expectation, posn token.P... FILE: test/testshared/analysis_test.go function Test_parseComments (line 11) | func Test_parseComments(t *testing.T) { FILE: test/testshared/directives.go type RunContext (line 19) | type RunContext struct function ParseTestDirectives (line 29) | func ParseTestDirectives(tb testing.TB, sourcePath string) *RunContext { function skipMultilineComment (line 122) | func skipMultilineComment(scanner *bufio.Scanner) { function evaluateBuildTags (line 130) | func evaluateBuildTags(tb testing.TB, line string) bool { function buildTagGoVersion (line 151) | func buildTagGoVersion(tag string) bool { FILE: test/testshared/directives_test.go function TestParseTestDirectives (line 13) | func TestParseTestDirectives(t *testing.T) { function Test_evaluateBuildTags (line 26) | func Test_evaluateBuildTags(t *testing.T) { FILE: test/testshared/install.go constant envGolangciLintInstalled (line 18) | envGolangciLintInstalled = "GOLANGCI_LINT_INSTALLED" function InstallGolangciLint (line 28) | func InstallGolangciLint(tb testing.TB) string { function findMakefile (line 72) | func findMakefile(tb testing.TB) string { function copyFile (line 95) | func copyFile(src, dst string) error { FILE: test/testshared/integration/fix.go constant envKeepTempFiles (line 15) | envKeepTempFiles = "GL_KEEP_TEMP_FILES" function setupTestFix (line 17) | func setupTestFix(t *testing.T) []string { function RunFix (line 39) | func RunFix(t *testing.T) { function RunFixPathPrefix (line 45) | func RunFixPathPrefix(t *testing.T) { function runFix (line 51) | func runFix(t *testing.T, extraArgs ...string) { FILE: test/testshared/integration/run.go constant testdataDir (line 17) | testdataDir = "testdata" function RunTestdata (line 19) | func RunTestdata(t *testing.T) { function RunTestSourcesFromDir (line 25) | func RunTestSourcesFromDir(t *testing.T, dir string) { function testOneSource (line 51) | func testOneSource(t *testing.T, log *logutils.StderrLog, binPath, sourc... function findSources (line 102) | func findSources(t *testing.T, pathPatterns ...string) []string { FILE: test/testshared/runner.go constant envKeepTempFiles (line 23) | envKeepTempFiles = "GL_KEEP_TEMP_FILES" type RunnerBuilder (line 25) | type RunnerBuilder struct method WithBinPath (line 54) | func (b *RunnerBuilder) WithBinPath(binPath string) *RunnerBuilder { method WithCommand (line 60) | func (b *RunnerBuilder) WithCommand(command string) *RunnerBuilder { method WithNoConfig (line 66) | func (b *RunnerBuilder) WithNoConfig() *RunnerBuilder { method WithConfigFile (line 72) | func (b *RunnerBuilder) WithConfigFile(cfgPath string) *RunnerBuilder { method WithConfig (line 82) | func (b *RunnerBuilder) WithConfig(cfg string) *RunnerBuilder { method WithRunContext (line 107) | func (b *RunnerBuilder) WithRunContext(rc *RunContext) *RunnerBuilder { method WithDirectives (line 125) | func (b *RunnerBuilder) WithDirectives(sourcePath string) *RunnerBuild... method WithEnviron (line 131) | func (b *RunnerBuilder) WithEnviron(environ ...string) *RunnerBuilder { method WithNoParallelRunners (line 137) | func (b *RunnerBuilder) WithNoParallelRunners() *RunnerBuilder { method WithArgs (line 143) | func (b *RunnerBuilder) WithArgs(args ...string) *RunnerBuilder { method WithTargetPath (line 149) | func (b *RunnerBuilder) WithTargetPath(targets ...string) *RunnerBuild... method Runner (line 155) | func (b *RunnerBuilder) Runner() *Runner { function NewRunnerBuilder (line 40) | func NewRunnerBuilder(tb testing.TB) *RunnerBuilder { type Runner (line 197) | type Runner struct method Install (line 209) | func (r *Runner) Install() *Runner { method Run (line 219) | func (r *Runner) Run() *RunnerResult { method Command (line 261) | func (r *Runner) Command() *exec.Cmd { type RunnerResult (line 274) | type RunnerResult struct method ExpectNoIssues (line 281) | func (r *RunnerResult) ExpectNoIssues() { method ExpectExitCode (line 288) | func (r *RunnerResult) ExpectExitCode(possibleCodes ...int) *RunnerRes... method ExpectOutputRegexp (line 300) | func (r *RunnerResult) ExpectOutputRegexp(s string) *RunnerResult { method ExpectOutputContains (line 307) | func (r *RunnerResult) ExpectOutputContains(s ...string) *RunnerResult { method ExpectOutputNotContains (line 317) | func (r *RunnerResult) ExpectOutputNotContains(s string) *RunnerResult { method ExpectOutputEq (line 324) | func (r *RunnerResult) ExpectOutputEq(s string) *RunnerResult { method ExpectHasIssue (line 331) | func (r *RunnerResult) ExpectHasIssue(issueText string) *RunnerResult { FILE: test/testshared/runner_test.go function TestRunnerBuilder_Runner (line 12) | func TestRunnerBuilder_Runner(t *testing.T) { function TestRunnerResult_ExpectExitCode (line 184) | func TestRunnerResult_ExpectExitCode(t *testing.T) { function TestRunnerResult_ExpectNoIssues (line 189) | func TestRunnerResult_ExpectNoIssues(t *testing.T) { function TestRunnerResult_ExpectOutputContains (line 194) | func TestRunnerResult_ExpectOutputContains(t *testing.T) { function TestRunnerResult_ExpectHasIssue (line 199) | func TestRunnerResult_ExpectHasIssue(t *testing.T) { function TestRunnerResult_ExpectOutputEq (line 204) | func TestRunnerResult_ExpectOutputEq(t *testing.T) { function TestRunnerResult_ExpectOutputNotContains (line 209) | func TestRunnerResult_ExpectOutputNotContains(t *testing.T) { function TestRunnerResult_ExpectOutputRegexp (line 214) | func TestRunnerResult_ExpectOutputRegexp(t *testing.T) { FILE: test/testshared/runner_unix.go constant binaryName (line 9) | binaryName = "golangci-lint" function SkipOnWindows (line 12) | func SkipOnWindows(_ testing.TB) {} function NormalizeFilePathInJSON (line 15) | func NormalizeFilePathInJSON(in string) string { function NormalizeFileInString (line 20) | func NormalizeFileInString(in string) string { function normalizeFilePath (line 25) | func normalizeFilePath(in string) string { FILE: test/testshared/runner_windows.go constant binaryName (line 12) | binaryName = "golangci-lint.exe" function SkipOnWindows (line 15) | func SkipOnWindows(tb testing.TB) { function NormalizeFilePathInJSON (line 20) | func NormalizeFilePathInJSON(in string) string { function NormalizeFileInString (line 29) | func NormalizeFileInString(in string) string { function normalizeFilePath (line 34) | func normalizeFilePath(in string) string { FILE: test/testshared/testdata/all.go function main (line 9) | func main() {