mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-12-02 01:40:33 +00:00
chore: update reference links to Go Wiki (#9987)
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
1 parent
93915dc97a
commit
43d4e5597b
2 files changed
+2
-2
No files matched your search
@@ -86,5 +86,5 @@ The following example stores allowed and denied configuration files in a directo
|
||||
|
||||
[opa-testing]: https://www.openpolicyagent.org/docs/latest/policy-testing/
|
||||
[defsec]: https://github.com/aquasecurity/trivy-checks/tree/main
|
||||
[table]: https://github.com/golang/go/wiki/TableDrivenTests
|
||||
[table]: https://go.dev/wiki/TableDrivenTests
|
||||
[fanal]: https://github.com/aquasecurity/fanal
|
||||
+1
-1
@@ -4,7 +4,7 @@ package gorules
|
||||
|
||||
import "github.com/quasilyte/go-ruleguard/dsl"
|
||||
|
||||
// cf. https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
|
||||
// cf. https://go.dev/wiki/CodeReviewComments#declaring-empty-slices
|
||||
func declareEmptySlices(m dsl.Matcher) {
|
||||
m.Match(
|
||||
`$name := []$t{}`,
|
||||
|
||||
Reference in new issue
Block a user