Skip to content

Latest commit

 

History

History

V008

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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,