toolshonnef.co/go/tools/lint/testutil Index | Files

package testutil

import "honnef.co/go/tools/lint/testutil"

Index

Functions

func Run

func Run(t *testing.T, analyzers []Analyzer)

Types

type Analyzer

type Analyzer struct {
	Analyzer *analysis.Analyzer
	Tests    []Test
}

type Test

type Test struct {
	Dir     string
	Version string
}

Source Files

util.go

Version
v0.0.1-2019.2.3
Published
Sep 4, 2019
Platform
windows/amd64
Imports
3 packages
Last checked
11 minutes ago

Tools for package owners.