This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
all: use slices mirror package #798
Annotations
10 errors
mirror/x/exp/slices/sort_benchmark_test.go#L18
rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (SA1019)
|
mirror/x/exp/slices/sort_benchmark_test.go#L101
rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (SA1019)
|
mirror/x/exp/slices/sort_benchmark_test.go#L150
field a is unused (U1000)
|
mirror/x/exp/slices/sort_benchmark_test.go#L150
field b is unused (U1000)
|
mirror/x/exp/slices/sort_benchmark_test.go#L150
field c is unused (U1000)
|
mirror/x/exp/slices/sort_benchmark_test.go#L150
field d is unused (U1000)
|
mirror/x/exp/slices/sort_benchmark_test.go#L161
rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (SA1019)
|
mirror/x/exp/slices/zsortfunc.go#L309
this value of c is never used (SA4006)
|
mirror/x/exp/slices/zsortfunc.go#L310
this value of a is never used (SA4006)
|
mirror/x/exp/slices/zsortordered.go#L311
this value of c is never used (SA4006)
|
The logs for this run have expired and are no longer available.
Loading