V007

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

README

V007

The V007 analyzer reports usage of the deprecated ValidateRegexp validation function that should be replaced with StringIsValidRegExp.

Flagged Code

ValidateFunc: validation.ValidateRegexp,

Passing Code

ValidateFunc: validation.StringIsValidRegExp,

Ignoring Reports

Singular reports can be ignored by adding the a //lintignore:V007 Go code comment at the end of the offending line or on the line immediately proceding, e.g.

//lintignore:V007
ValidateFunc: validation.ValidateRegexp,

Documentation

Index

Constants

This section is empty.

Variables

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