V003

package
v0.0.0-...-9d70a79 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

README

V003

The V003 analyzer reports usage of the deprecated IPRange validation function that should be replaced with IsIPv4Range.

Flagged Code

ValidateFunc: validation.IPRange(),

Passing Code

ValidateFunc: validation.IsIPv4Range,

Ignoring Reports

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

//lintignore:V003
ValidateFunc: validation.IPRange(),

Documentation

Jump to

Keyboard shortcuts

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