Skip to content

Latest commit

 

History

History

V006

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

V006

The V006 analyzer reports usage of the deprecated ValidateListUniqueStrings validation function that should be replaced with ListOfUniqueStrings.

Flagged Code

ValidateFunc: validation.ValidateListUniqueStrings,

Passing Code

ValidateFunc: validation.ListOfUniqueStrings,

Ignoring Reports

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

//lintignore:V006
ValidateFunc: validation.ValidateListUniqueStrings,