linter: expanded deprecated for calling const, property and instances of classes #130
Annotations
3 errors
linter:
src/linter/root.go#L987
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
linter:
src/linttest/golden_linttest.go#L172
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
linter
Process completed with exit code 2.
|