mirror of https://github.com/golang/go.git
While experimenting with different static analysis on x/tools, I noticed that there are many actionable diagnostics found by staticcheck. Fix the ones that were not false positives. Change-Id: I0b68cf1f636b57b557db879fad84fff9b7237a89 Reviewed-on: https://go-review.googlesource.com/c/tools/+/222248 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| code_lens.go | ||
| comment.go | ||
| comment_test.go | ||
| completion.go | ||
| completion_builtin.go | ||
| completion_format.go | ||
| completion_keywords.go | ||
| completion_labels.go | ||
| completion_literal.go | ||
| completion_snippet.go | ||
| completion_statements.go | ||
| deep_completion.go | ||
| diagnostics.go | ||
| folding_range.go | ||
| format.go | ||
| format_test.go | ||
| highlight.go | ||
| hover.go | ||
| identifier.go | ||
| implementation.go | ||
| options.go | ||
| references.go | ||
| rename.go | ||
| rename_check.go | ||
| signature_help.go | ||
| source_test.go | ||
| symbols.go | ||
| util.go | ||
| view.go | ||
| workspace_symbol.go | ||