blob: 54c98531ffbddb02e859cb5c8b0e518d5a327d61 [file] [log] [blame]
# Test of missing go.mod error message.
$ govulncheck -dir ${moddir}/nogomod . --> FAIL 1
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback.
Using go1.18 and govulncheck@v0.0.0-00000000000-20000101010101 with
vulnerability data from testdata/vulndb (last modified 01 Jan 21 00:00 UTC).
govulncheck: no go.mod file
govulncheck only works Go with modules. Try navigating to your module directory.
Otherwise, run go mod init to make your project a module.
See https://go.dev/doc/modules/managing-dependencies for more information.