mirror of
https://github.com/golang/go
synced 2024-11-23 00:30:07 -07:00
doc/effective_go: clarify backward function reference
Fixes #14656. Change-Id: I37a9aa51705ae18bd034f2cc6dbf06a55f969197 Reviewed-on: https://go-review.googlesource.com/23202 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
d4ed8da996
commit
c6a5b3602a
@ -2014,7 +2014,7 @@ then make the receiver for the method a value of that type.
|
|||||||
type ByteSlice []byte
|
type ByteSlice []byte
|
||||||
|
|
||||||
func (slice ByteSlice) Append(data []byte) []byte {
|
func (slice ByteSlice) Append(data []byte) []byte {
|
||||||
// Body exactly the same as above
|
// Body exactly the same as the Append function defined above.
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user