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

Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
Nikita Pivkin
2025-12-26 15:35:37 +06:00
committed by GitHub
parent 93915dc97a
commit 43d4e5597b
2 changed files with 2 additions and 2 deletions

View File

@@ -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

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{}`,