diff options
author | Russ Cox <rsc@golang.org> | 2012-02-08 14:28:51 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-08 14:28:51 -0500 |
commit | f3b462aebd059cc3834dc149ddfb41a83be23730 (patch) | |
tree | b115ed89e9006e429d86c6a1453d15b24655ef29 /doc/go_spec.html | |
parent | e4f97263e2ec81ce3b4a497698604afc2a3f8625 (diff) | |
download | go-f3b462aebd059cc3834dc149ddfb41a83be23730.tar.gz |
spec: add forward links from 'method set' to where it gets used
Fixes issue 1797.
R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/5645058
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r-- | doc/go_spec.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index 4467f4e39..ff7ce325c 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -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> |