diff --git a/go/nogo.rst b/go/nogo.rst index e150afc3b7..49b5ae68b5 100644 --- a/go/nogo.rst +++ b/go/nogo.rst @@ -355,6 +355,8 @@ Setting ``vet = True`` is equivalent to adding the ``atomic``, ``bools``, ``@org_golang_x_tools//go/analysis/passes`` to the ``deps`` list of your ``nogo`` rule. +**NOTE**: When using vet you must ensure that the package ``golang.org/x/tools`` is in the go.mod file. + See the full list of available nogo checks: