analyzer_wrapper

package
v0.0.0-...-ff574a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package analyzer_wrapper wraps around Golang's official analysis modules and make them available in a unit test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintPlain

func PrintPlain(fset *token.FileSet, diag analysis.Diagnostic, Context int)

PrintPlain prints a diagnostic in plain text form, with context specified by the -c flag. -c=N: if N>0, display offending line plus N lines of context

func Run

func Run(patterns []string, analyzers []*analysis.Analyzer) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL