We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i am writing a linter to lint that pass []any as any in variadic function
and run github Actions for some top go packages, this package failed
see github actions lint result here https://github.com/alingse/asasalint/runs/7286712865?check_suite_focus=true
func (l logger) Println(args ...interface{}) { l.Info(stripGrpcPrefixArgs(args)...) }
should be
func (l logger) Println(args ...interface{}) { l.Info(stripGrpcPrefixArgs(args...)...) }
otherwise, the stripGrpcPrefixArgs will got []any{[]any{args...}}
😂 however this will not cause an error in runtime.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
i am writing a linter to lint that pass []any as any in variadic function
and run github Actions for some top go packages, this package failed
see github actions lint result here https://github.com/alingse/asasalint/runs/7286712865?check_suite_focus=true
should be
otherwise, the stripGrpcPrefixArgs will got []any{[]any{args...}}
😂 however this will not cause an error in runtime.
The text was updated successfully, but these errors were encountered: