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 linter gochecknoinits related complaint #38

Closed
lamg opened this issue Jan 11, 2021 · 0 comments
Closed

Fix linter gochecknoinits related complaint #38

lamg opened this issue Jan 11, 2021 · 0 comments

Comments

@lamg
Copy link

lamg commented Jan 11, 2021

Problem

The running golangci-lint complains about //nolint:gochecknoinits providing no explanation here

Solution

Explain why the init method is used, or remove the global variable.

@Eun Eun closed this as completed in 9f8f30c Feb 10, 2021
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

No branches or pull requests

1 participant