Go Vet

Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. Vet uses heuristics that do not guarantee all reports are genuine problems, but it can find errors not caught by the compilers.

Configuring Go Vet

Go Vet can be enabled in your configuration as follows:

build:
    environment:
        go: go1.9.2

    nodes:
        analysis:
            tests:
                override:
                    - govet-run