Skip to content

Update hive.go

Update hive.go #250

GitHub Actions / golangci-app failed Feb 14, 2024 in 0s

reviewdog [golangci-app] report

reported by reviewdog 🐶

Findings (2)

app/version/version.go|43 col 15| unused-parameter: parameter 'version' seems to be unused, consider removing or renaming it as _ (revive)
app/components/profiling/component.go|21 col 19| unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)

Filtered Findings (0)

Annotations

Check failure on line 43 in app/version/version.go

See this annotation in the file changed.

@github-actions github-actions / golangci-app

[golangci-app] app/version/version.go#L43

unused-parameter: parameter 'version' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
version/version.go:43:15: unused-parameter: parameter 'version' seems to be unused, consider removing or renaming it as _ (revive)
		return func(version string) bool {
		            ^

Check failure on line 21 in app/components/profiling/component.go

See this annotation in the file changed.

@github-actions github-actions / golangci-app

[golangci-app] app/components/profiling/component.go#L21

unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
components/profiling/component.go:21:19: unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
		IsEnabled: func(c *dig.Container) bool {
		                ^