Unnecessary Slice-to-Slice Conversion analyzer (#7321)

* analyzer with tests
* fix bazel file
* modify analyzer to fix build issues
* add analyzer to tool chain
* remove arrays from inspections
* fix redundant [:] operator
* Merge branch 'master' into use-slice-directly
* Merge branch 'master' into use-slice-directly
* fix another inspection
* add package-level comment
This commit is contained in:
Radosław Kapka
2020-09-23 18:14:34 +02:00
committed by GitHub
parent 347aa14a28
commit dca93ce641
48 changed files with 251 additions and 87 deletions

View File

@@ -110,6 +110,7 @@ nogo(
"//tools/analyzers/comparesame:go_tool_library",
"//tools/analyzers/shadowpredecl:go_tool_library",
"//tools/analyzers/nop:go_tool_library",
"//tools/analyzers/slicedirect:go_tool_library",
] + select({
# nogo checks that fail with coverage enabled.
":coverage_enabled": [],