Every line of 'go advantage' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Go code is secure.
312 func (it stringIter) AdvanceN(n int) RandomIter { 313 if it.backward { 314 n = -n 315 } 316 return stringIter{ 317 s: it.s, 318 i: it.i + n, 319 backward: it.backward, 320 } 321 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code