]> Cypherpunks repositories - gostls13.git/commitdiff
spec: add forward links from 'method set' to where it gets used
authorRuss Cox <rsc@golang.org>
Wed, 8 Feb 2012 19:28:51 +0000 (14:28 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 8 Feb 2012 19:28:51 +0000 (14:28 -0500)
Fixes #1797.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5645058

doc/go_spec.html

index 4467f4e39e254817d96a6f74c96ed161fa29676e..ff7ce325ca7adf6128d72ce4f723b2ad9e3a56da 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of February 6, 2012"
+       "Subtitle": "Version of February 8, 2012"
 }-->
 
 <!--
@@ -665,6 +665,12 @@ Any other type has an empty method set.
 In a method set, each method must have a unique name.
 </p>
 
+<p>
+The method set of a type determines the interfaces that the
+type <a href="#Interface_types">implements</a>
+and the methods that can be <a href="#Calls">called</a>
+using a receiver of that type.
+</p>
 
 <h3 id="Boolean_types">Boolean types</h3>