V006

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MPL-2.0 Imports: 3 Imported by: 3

README

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,

Documentation

Jump to

Keyboard shortcuts

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