V008

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

README

V008

The V008 analyzer reports usage of the deprecated ValidateRFC3339TimeString validation function that should be replaced with IsRFC3339Time.

Flagged Code

ValidateFunc: validation.ValidateRFC3339TimeString,

Passing Code

ValidateFunc: validation.IsRFC3339Time,

Ignoring Reports

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

//lintignore:V008
ValidateFunc: validation.ValidateRFC3339TimeString,

Documentation

Jump to

Keyboard shortcuts

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