Forrest logo
back to context overview

go-vet

List of commands for go-vet:

  • go-vet:tldr:35808 go-vet: Display offending lines plus N lines of surrounding context.
    $ go vet -c=${N}
    try on your machine
    explain this command
  • go-vet:tldr:48d2d go-vet: View details and flags for a particular check.
    $ go tool vet help ${check_name}
    try on your machine
    explain this command
  • go-vet:tldr:59972 go-vet: List available checks that can be run with go vet.
    $ go tool vet help
    try on your machine
    explain this command
  • go-vet:tldr:606b7 go-vet: Check the Go package in the current directory.
    $ go vet
    try on your machine
    explain this command
  • go-vet:tldr:9fe8a go-vet: Check the Go package in the specified path.
    $ go vet ${filename_or_directory}
    try on your machine
    explain this command
  • go-vet:tldr:cbab8 go-vet: Output analysis and errors in JSON format.
    $ go vet -json
    try on your machine
    explain this command
back to context overview