Skip to content

refactor: silence gopls hints - #2692

Merged
CatsDeservePets merged 1 commit into
gokcehan:masterfrom
CatsDeservePets:refactor
Sep 28, 2026
Merged

CatsDeservePets merged 1 commit into
gokcehan:masterfrom
CatsDeservePets:refactor

Conversation

@CatsDeservePets

Copy link
Copy Markdown
Collaborator

This pull requests adds suggestions by gopls:

  • NumField/Field loop can simplified using Type.Fields iteration
  • errors.As can be simplified using AsType[*exec.ExitError]

@CatsDeservePets CatsDeservePets added the go Pull requests that update Go code label Sep 28, 2026
@CatsDeservePets
CatsDeservePets merged commit 1f31d66 into gokcehan:master Sep 28, 2026
32 checks passed
@CatsDeservePets
CatsDeservePets deleted the refactor branch September 28, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant