rules

package
v0.0.0-...-ef39c09 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoAnnotationFormat = &analysis.Analyzer{
	Name: "noannotationformat",
	Doc:  "Avoid fmt.Sprintf in annotations",
	Run:  noAnnotationFormatRun,
}
View Source
var RequireAnnotationAnalyzer = &analysis.Analyzer{
	Name: "requireannotation",
	Doc:  "Require all assertions to have an annotation",
	Run:  run,
}
View Source
var UseNewWithT = &analysis.Analyzer{
	Name: "usenewwitht",
	Run:  useNewWithTRun,
	Doc:  "Use NewWithT instead of the deprecated NewGomegaWithT",
}
View Source
var UsePointTo = &analysis.Analyzer{
	Name: "usepointto",
	Doc:  "use PointTo instead of dereferencing",
	Run:  runUsePointTo,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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