From 634a4b27de73720888461df2b86718305708313a Mon Sep 17 00:00:00 2001 From: Leonid Date: Mon, 3 Feb 2025 16:10:47 +0200 Subject: [PATCH 1/2] docs: updated Naked parameters --- src/param-naked.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/param-naked.md b/src/param-naked.md index 357621d..80e2c75 100644 --- a/src/param-naked.md +++ b/src/param-naked.md @@ -1,6 +1,6 @@ # Avoid Naked Parameters -Prefer using (Functional Options)[#functional-options] instead of naked parameters or split your function into a few ones: +Prefer using [Functional Options](#functional-options) instead of naked parameters or split your function into a few ones: From 8de591dec5238772fed3a715432110f743991c5d Mon Sep 17 00:00:00 2001 From: GoncharovLeonid <50236144+GoncharovLeonid@users.noreply.github.com> Date: Mon, 3 Feb 2025 14:11:20 +0000 Subject: [PATCH 2/2] Auto-update style.md --- style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.md b/style.md index 5735c1c..b1f1ba5 100644 --- a/style.md +++ b/style.md @@ -3375,7 +3375,7 @@ func Bar() { ### Avoid Naked Parameters -Prefer using (Functional Options)[#functional-options] instead of naked parameters or split your function into a few ones: +Prefer using [Functional Options](#functional-options) instead of naked parameters or split your function into a few ones:
BadGood
BadGood