From 8d7a048c36c747f148be8559cfd52b30d056ee32 Mon Sep 17 00:00:00 2001 From: Hossein Zolfi Date: Sat, 29 Jun 2024 21:11:22 +0330 Subject: [PATCH] Update addressable href links to target valid anchors --- src/interface-receiver.md | 2 +- style.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface-receiver.md b/src/interface-receiver.md index e0102d68..54584886 100644 --- a/src/interface-receiver.md +++ b/src/interface-receiver.md @@ -3,7 +3,7 @@ Methods with value receivers can be called on pointers as well as values. Methods with pointer receivers can only be called on pointers or [addressable values]. - [addressable values]: https://go.dev/ref/spec#Method_values + [addressable values]: https://go.dev/ref/spec#Address_operators For example, diff --git a/style.md b/style.md index 21a1733a..d0073737 100644 --- a/style.md +++ b/style.md @@ -200,7 +200,7 @@ func (h LogHandler) ServeHTTP( ### Receivers and Interfaces Methods with value receivers can be called on pointers as well as values. -Methods with pointer receivers can only be called on pointers or [addressable values](https://go.dev/ref/spec#Method_values). +Methods with pointer receivers can only be called on pointers or [addressable values](https://go.dev/ref/spec#Address_operators). For example,