Skip to content

Commit 27389ae

Browse files
julieqiugopherbot
authored andcommitted
exp/govulncheck: change Run to Main
Create a stable API for exp/govulncheck, for use by gopls. The function signature for exp/govulncheck.Main should not need change in the process of refactoring internal/govulncheck. For golang/go#56042 Change-Id: I3c62d9bc3a3e13d80e5693cf8bcb8f8794721e0e Reviewed-on: https://go-review.googlesource.com/c/vuln/+/437864 TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Julie Qiu <[email protected]> Run-TryBot: Julie Qiu <[email protected]> Reviewed-by: Julie Qiu <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
1 parent 249bfe3 commit 27389ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exp/govulncheck/govulncheck.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// Config is the configuration for Main.
1313
type Config = govulncheck.Config
1414

15-
// Run is the main function for the govulncheck command line tool.
16-
func Run(cfg Config) error {
15+
// Main is the main function for the govulncheck command line tool.
16+
func Main(cfg Config) error {
1717
return govulncheck.Run(cfg)
1818
}

0 commit comments

Comments
 (0)