go/gopls/internal/govulncheck
Hana (Hyang-Ah) Kim bc08991678 gopls: sync golang.org/x/vuln@3af8368ee4fe
golang.org/x/vuln/exp/govulncheck API was significantly
changed. The previous Main is gone, and we need to use
Source. The returned data types changed significantly
too.

Change-Id: Ic702ffe9a94a8ddd1867a0f2766bb49e2133d3a3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/448975
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-11-10 23:14:17 +00:00
..
semver gopls/internal/govulncheck: sync x/vuln@62b0186 2022-09-02 15:10:33 +00:00
README.md gopls/internal/govulncheck: sync x/vuln@b9a3ad9 2022-07-22 16:51:01 +00:00
filepath.go gopls/internal/govulncheck: sync x/vuln@62b0186 2022-09-02 15:10:33 +00:00
filepath_test.go gopls/internal/govulncheck: sync x/vuln@62b0186 2022-09-02 15:10:33 +00:00
source.go gopls/internal/govulncheck: sync x/vuln@62b0186 2022-09-02 15:10:33 +00:00
types_118.go gopls: sync golang.org/x/vuln@3af8368ee4fe 2022-11-10 23:14:17 +00:00
types_not118.go gopls: sync golang.org/x/vuln@3af8368ee4fe 2022-11-10 23:14:17 +00:00
util.go gopls/internal/govulncheck: sync x/vuln@62b0186 2022-09-02 15:10:33 +00:00
util_test.go gopls/internal/vulncheck: use internal/govulncheck 2022-05-31 21:46:24 +00:00

README.md

internal/govulncheck package

This package is a literal copy of the cmd/govulncheck/internal/govulncheck package in the vuln repo (https://go.googlesource.com/vuln).

The copy.sh does the copying, after removing all .go files here. To use it:

  1. Clone the vuln repo to a directory next to the directory holding this repo (tools). After doing that your directory structure should look something like

    ~/repos/x/tools/gopls/...
    ~/repos/x/vuln/...
    
  2. cd to this directory.

  3. Run copy.sh.

  4. Re-add build tags for go1.18