Commit 0f1a18b7 authored by Andrew Gerrand's avatar Andrew Gerrand

[release-branch.go1.1] effective_go.html: be more accepting in the guidelines for interface names

««« CL 9274043 / bbe324079abe
effective_go.html: be more accepting in the guidelines for interface names
Fixes #5421.

R=golang-dev, bradfitz, adg
CC=golang-dev
https://golang.org/cl/9274043
»»»

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9137045
parent 1c5438aa
......@@ -403,8 +403,10 @@ if owner != user {
<p>
By convention, one-method interfaces are named by
the method name plus the -er suffix: <code>Reader</code>,
<code>Writer</code>, <code>Formatter</code> etc.
the method name plus an -er suffix or similar modification
to construct an agent noun: <code>Reader</code>,
<code>Writer</code>, <code>Formatter</code>,
<code>CloseNotifier</code> etc.
</p>
<p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment