mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-05 20:40:16 -08:00
docs(go): fix version (#1986)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user