Skip to content

Update go version to 1.22 #251

Update go version to 1.22

Update go version to 1.22 #251

GitHub Actions / golangci-ds failed Feb 16, 2024 in 1s

reviewdog [golangci-ds] report

reported by reviewdog 🐶

Findings (2)

ds/randommap/random_map.go|159 col 18| unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
ds/randommap/random_map.go|198 col 17| unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)

Filtered Findings (0)

Annotations

Check failure on line 159 in ds/randommap/random_map.go

See this annotation in the file changed.

@github-actions github-actions / golangci-ds

[golangci-ds] ds/randommap/random_map.go#L159

unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
randommap/random_map.go:159:18: unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
		r.forEach(func(key K, value V) bool {
		               ^

Check failure on line 198 in ds/randommap/random_map.go

See this annotation in the file changed.

@github-actions github-actions / golangci-ds

[golangci-ds] ds/randommap/random_map.go#L198

unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
randommap/random_map.go:198:17: unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
	r.forEach(func(key K, value V) bool {
	               ^