Skip to content

Latest commit

 

History

History
 
 

V003

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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(),