Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some issues found by lint #16

Merged

Conversation

joonas-fi
Copy link
Contributor

Issue: #10

I fixed only what I think are "uncontroversial", i.e. I didn't yet mark any "lint ignore" annotations for more aggressive/"controversial" linters, because we don't yet have any agreed-on linter configuration.

Each commit explains what I fixed.

If you prefer, I can squash the commits before merging.

types.go Show resolved Hide resolved
@joonas-fi
Copy link
Contributor Author

joonas-fi commented Mar 4, 2022

Oh sorry, I I just now noticed that you wrote:

The unused and predeclared are too aggressive, I think.

I fixed some of them 🤦 I'll of course revert anything that you think is not worth the trouble.

internal/rsyncd/match.go Show resolved Hide resolved
types.go Show resolved Hide resolved
internal/anonssh/anonssh.go Show resolved Hide resolved
@stapelberg stapelberg merged commit 2b498ed into gokrazy:main Mar 4, 2022
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