diff --git a/docs/guide/scanner/misconfiguration/custom/testing.md b/docs/guide/scanner/misconfiguration/custom/testing.md index 2db2fa8235..042b96753c 100644 --- a/docs/guide/scanner/misconfiguration/custom/testing.md +++ b/docs/guide/scanner/misconfiguration/custom/testing.md @@ -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 \ No newline at end of file diff --git a/misc/lint/rules.go b/misc/lint/rules.go index 844a6a0551..adecdbbc2b 100644 --- a/misc/lint/rules.go +++ b/misc/lint/rules.go @@ -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{}`,