-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tour: contradiction in explanation #14344
Labels
Milestone
Comments
gopherbot
pushed a commit
to golang/website
that referenced
this issue
May 26, 2021
This example showed an interface being satisfied by *T when the method is declared on T. Fixes golang/go#14344 Change-Id: Ifcfd251d57323714539a90e17fdb1e74531e3424 Reviewed-on: https://go-review.googlesource.com/19531 Reviewed-by: Katrina Owen <katrina.owen@gmail.com> Reviewed-by: Andrew Gerrand <adg@golang.org> X-Tour-Commit: 9616eac69404c8d4aab36bf42624b08e2e8dffd2
passionSeven
added a commit
to passionSeven/website
that referenced
this issue
Oct 18, 2022
This example showed an interface being satisfied by *T when the method is declared on T. Fixes golang/go#14344 Change-Id: Ifcfd251d57323714539a90e17fdb1e74531e3424 Reviewed-on: https://go-review.googlesource.com/19531 Reviewed-by: Katrina Owen <katrina.owen@gmail.com> Reviewed-by: Andrew Gerrand <adg@golang.org> X-Tour-Commit: 9616eac69404c8d4aab36bf42624b08e2e8dffd2
KimuraDanaka119
added a commit
to KimuraDanaka119/go-tour-jp
that referenced
this issue
Jun 4, 2023
This example showed an interface being satisfied by *T when the method is declared on T. Fixes golang/go#14344 Change-Id: Ifcfd251d57323714539a90e17fdb1e74531e3424 Reviewed-on: https://go-review.googlesource.com/19531 Reviewed-by: Katrina Owen <katrina.owen@gmail.com> Reviewed-by: Andrew Gerrand <adg@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context: https://tour.golang.org/methods/10
Hi. This slide seems to contradict the explanation on slide 9. i.e. how can type *T implement this interface? Only type T appears to implement the interface and yet there's no error when running the code.
I think this should be explained in the slide. Thanks.
The text was updated successfully, but these errors were encountered: