mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-01-24 10:33:10 +08:00
chore: update reference links to Go Wiki (#9987)
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
@@ -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
|
||||
@@ -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