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-core failed Feb 16, 2024 in 1s

reviewdog [golangci-core] report

reported by reviewdog 🐶

Findings (3)

core/eventticker/eventticker.go|98 col 32| unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
core/eventticker/eventticker.go|112 col 34| unused-parameter: parameter 'index' seems to be unused, consider removing or renaming it as _ (revive)
core/eventticker/eventticker.go|113 col 30| unused-parameter: parameter 'scheduledTask' seems to be unused, consider removing or renaming it as _ (revive)

Filtered Findings (0)

Annotations

Check failure on line 98 in core/eventticker/eventticker.go

See this annotation in the file changed.

@github-actions github-actions / golangci-core

[golangci-core] core/eventticker/eventticker.go#L98

unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
eventticker/eventticker.go:98:32: unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
			evictedStorage.ForEach(func(id T, scheduledTask *timed.ScheduledTask) bool {
			                            ^

Check failure on line 112 in core/eventticker/eventticker.go

See this annotation in the file changed.

@github-actions github-actions / golangci-core

[golangci-core] core/eventticker/eventticker.go#L112

unused-parameter: parameter 'index' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
eventticker/eventticker.go:112:34: unused-parameter: parameter 'index' seems to be unused, consider removing or renaming it as _ (revive)
	r.scheduledTickers.ForEach(func(index I, storage *shrinkingmap.ShrinkingMap[T, *timed.ScheduledTask]) {
	                                ^

Check failure on line 113 in core/eventticker/eventticker.go

See this annotation in the file changed.

@github-actions github-actions / golangci-core

[golangci-core] core/eventticker/eventticker.go#L113

unused-parameter: parameter 'scheduledTask' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
eventticker/eventticker.go:113:30: unused-parameter: parameter 'scheduledTask' seems to be unused, consider removing or renaming it as _ (revive)
		storage.ForEach(func(id T, scheduledTask *timed.ScheduledTask) bool {
		                           ^