nogo.rst: doc tweaks (#1938)
1. Fix package name to reflect current code (`buildtags` => `buildtag`)
2. Add a copy-paste friendly one-liner to see the list of available built-in passes
diff --git a/go/nogo.rst b/go/nogo.rst
index c4919c0..99aac93 100644
--- a/go/nogo.rst
+++ b/go/nogo.rst
@@ -262,11 +262,18 @@
visibility = ["//visibility:public"],
)
-Setting ``vet = True`` is equivalent to adding the ``atomic``, ``bool``,
-``buildtags``, ``nilfunc``, and ``printf`` analyzers from
+Setting ``vet = True`` is equivalent to adding the ``atomic``, ``bools``,
+``buildtag``, ``nilfunc``, and ``printf`` analyzers from
``@org_golang_x_tools//go/analysis/passes`` to the ``deps`` list of your
``nogo`` rule.
+See the full list of available nogo checks:
+
+.. code:: shell
+
+ bazel query 'kind(go_tool_library, @org_golang_x_tools//go/analysis/passes/...)'
+
+
API
---