Skip to content

Conversation

@kolyshkin
Copy link
Contributor

See individual commits for details. I have refrained from adding extra linters or making some massive modifications.

It is no longer needed since commit 33c352a changed go to 1.20 in go.mod.

Signed-off-by: Kir Kolyshkin <[email protected]>
Those are no longer needed as the package requires Go >= 1.20
since commit 33c352a.

Generated by

	go fix ./...

Signed-off-by: Kir Kolyshkin <[email protected]>
Like this:

> object_test.go:71:7: ST1006: receiver name should not be an underscore, omit the name if it is unused (staticcheck)

Signed-off-by: Kir Kolyshkin <[email protected]>
As recommended by staticcheck linter, e.g.

> conn.go:448:3: QF1003: could use tagged switch on member (staticcheck)

Signed-off-by: Kir Kolyshkin <[email protected]>
As recommended by the staticcheck linter:

> variant_parser.go:295:2: QF1002: could use tagged switch on sig.str (staticcheck)

Signed-off-by: Kir Kolyshkin <[email protected]>
As recommended by the staticcheck linter, e.g.

> auth.go:60:14: QF1008: could remove embedded field "transport" from selector (staticcheck)
Signed-off-by: Kir Kolyshkin <[email protected]>
@guelfey guelfey merged commit 88ce463 into godbus:master Dec 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants