]> Cypherpunks repositories - gostls13.git/commit
spec: add an example of a trivially invalid interface
authorRobert Griesemer <gri@golang.org>
Tue, 30 Jul 2019 23:16:03 +0000 (16:16 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 31 Jul 2019 05:45:43 +0000 (05:45 +0000)
commit39d4178735d6ca90e076b3fc3d7e38f56fd6b945
tree8862ecd37ea5a4668064e054097978a1a02ac4ca
parent1ad64fafc889cb17041b03b10f8af30ae534dfeb
spec: add an example of a trivially invalid interface

In preparation for the forthcoming spec changes for #6977.
While at it, modernize existing File example that dates
back all the way to commit 18c5b488a3b.

Change-Id: Id10e4df0513e3de15bd58867222923eefa9473ea
Reviewed-on: https://go-review.googlesource.com/c/go/+/187978
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html