github.com/0xKiwi/rules_go@v0.24.3/tests/core/nogo/custom/README.rst (about)

     1  Custom nogo analyzers
     2  =====================
     3  
     4  .. _nogo: /go/nogo.rst
     5  .. _go_library: /go/core.rst#_go_library
     6  
     7  Tests to ensure that custom `nogo`_ analyzers run and detect errors.
     8  
     9  .. contents::
    10  
    11  custom_test
    12  -----------
    13  Verifies that custom analyzers print errors and fail a `go_library`_ build when
    14  a configuration file is not provided, and that analyzers with the same package
    15  name do not conflict. Also checks that custom analyzers can be configured to
    16  apply only to certain file paths using a custom configuration file.