blob: 66b5a23fa0ccedd4c6acbb4f3931ac773c83f33b [file]
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"cmd/internal/objabi"
"cmd/internal/telemetry/counter"
"golang.org/x/tools/go/analysis/suite/vet"
"golang.org/x/tools/go/analysis/unitchecker"
)
func main() {
// Keep consistent with cmd/fix/main.go!
counter.Open()
objabi.AddVersionFlag()
counter.Inc("vet/invocations")
unitchecker.Main(vet.Suite...) // (never returns)
}