• Home
Name Date Size #Lines LOC

..--

BUILD.bazelD04-Jul-2025149 75

README.rstD04-Jul-2025599 2014

flags_test.goD04-Jul-20256.1 KiB263216

README.rst

1Custom nogo analyzer flags
2=====================
3
4.. _nogo: /go/nogo.rst
5.. _go_library: /docs/go/core/rules.md#_go_library
6
7Tests to ensure that custom `nogo`_ analyzers that consume flags can be
8supplied those flags via nono config.
9
10.. contents::
11
12flags_test
13-----------
14Verifies that a simple custom analyzer's behavior can be modified by setting
15its analyzer flags in the nogo driver, and that these flags can be provided to
16the driver via the nogo config `analyzer_flags` field. Also checks that
17invalid flags as defined by the `flag` package cause the driver to immediately
18return an error.
19
20