blob: 3507f9e856b7e8a90d3f9dd1edfe44304718d56b [file] [log] [blame]
// Copyright 2022 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 govulncheck has experimental govulncheck API.
package govulncheck
import (
"context"
"golang.org/x/vuln/internal/govulncheck"
)
// Config is the configuration for Main.
type Config = govulncheck.Config
// Run is the primary function for the govulncheck command line tool.
func Run(ctx context.Context, cfg Config) error {
return govulncheck.Run(ctx, cfg)
}