The AT009 analyzer reports where acctest.RandStringFromCharSet()
calls can be simplified to acctest.RandString()
.
rString := acctest.RandStringFromCharSet(8, acctest.CharSetAlphaNum)
rString := acctest.RandString(8)
Singular reports can be ignored by adding the a //lintignore:AT009
Go code comment at the end of the offending line or on the line immediately proceding, e.g.
//lintignore:AT009
rString := acctest.RandStringFromCharSet(8, acctest.CharSetAlphaNum)