vulndb/cmd/modinfo
Dmitri Shuralyov 8f455330bf cmd/modinfo/internal/pkgsitedb: fix build on plan9
Package pkgsitedb doesn't work on plan9 because a dependency doesn't
support it. It was meant to return a runtime error in the db_plan9.go
implementation, but it looks like there was a mixup with a similar
pkgsitedb package at golang.org/x/pkgsite-metrics/internal/pkgsitedb.

After these changes, it and all of its tests compile on GOOS=plan9:

$ GOOS=plan9 GOARCH=amd64 go test -c -o=/dev/null ./...
[...]
$ echo $?
0

Also run 'go mod tidy' to drop the x/pkgsite-metric requirement.

For golang/go#61698.

Change-Id: Ia016b5705894029380840ce8499047e264054e9f
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/518095
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2023-08-10 01:59:48 +00:00
..
internal/pkgsitedb cmd/modinfo/internal/pkgsitedb: fix build on plan9 2023-08-10 01:59:48 +00:00
main.go cmd/modinfo: a tool for getting module info 2023-07-27 21:16:19 +00:00