chore: update reference links to Go Wiki (#9987)

Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
Nikita Pivkin authored and GitHub committed 2025-12-26 09:35:37 +00:00
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
View File
@@ -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{}`,