docs(go): fix version (#1986)

This commit is contained in:
Teppei Fukuda
2022-04-13 17:57:40 +03:00
committed by GitHub
parent d77dbe8a55
commit 1cf1873f21

View File

@@ -20,7 +20,7 @@ Depending on Go versions, the required files are different.
| Version | Required files | Offline | License |
|---------|:--------------:|:-------:|:-------:|
| \>=1.17 | go.mod | ✓ | - |
| <1.16 | go.mod, go.sum | ✓ | - |
| <1.17 | go.mod, go.sum | ✓ | - |
In Go 1.17+ projects, Trivy uses `go.mod` for direct/indirect dependencies.
On the other hand, it uses `go.mod` for direct dependencies and `go.sum` for indirect dependencies in Go 1.16 or less.