go vet [package]
Report likely mistakes in packages
Arguments
Name | Description |
---|---|
package |
Options
Name | Description |
---|---|
-n | Print the commands but do not run them |
-v | Print the names of packages as they are compiled |
-x | Print the commands |
-tags <tags> | A comma-separated list of build tags to consider satisfied during the build |
-toolexec <cmd> | A program to use to invoke toolchain programs like vet and asm |
-vettool <tool> | Select a different analysis tool with alternative or additional checks |