]> Cypherpunks repositories - gostls13.git/commit
spec: add section on the structure of interfaces
authorRobert Griesemer <gri@golang.org>
Fri, 19 Nov 2021 01:52:24 +0000 (17:52 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 22 Nov 2021 04:27:29 +0000 (04:27 +0000)
commite30ebaab0bd5d95178f77cf40998ab14a0341d17
tree5226f484de4bef8042fc58f8c6444a27eb539a95
parenta287c4aa38c9c71f823a0c366871f7f4452a602c
spec: add section on the structure of interfaces

This change introduces the notion of a structural interface
and its corresponding structural type.

Change-Id: Ib5442dfd04cb5950b4467428cae51849f8922272
Reviewed-on: https://go-review.googlesource.com/c/go/+/365474
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html