V006

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: 3 Imported by: 0

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