Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6130)

Issue 87410043: code review 87410043: doc/effective_go: mention that b.Write is a shorthand f... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by minux1
Modified:
10 years, 11 months ago
Reviewers:
r, bradfitz, josharian
CC:
golang-codereviews, bradfitz, r, josharian
Visibility:
Public.

Description

doc/effective_go: mention that b.Write is a shorthand for (&b).Write when b is addressable. The rewrite is due to Rob.

Patch Set 1 #

Patch Set 2 : diff -r b3405f9c2e32 https://code.google.com/p/go #

Patch Set 3 : diff -r b3405f9c2e32 https://code.google.com/p/go #

Total comments: 1

Patch Set 4 : diff -r 4c91e8fa0ebf https://code.google.com/p/go #

Total comments: 5

Patch Set 5 : diff -r 1bf549d894c9 https://code.google.com/p/go #

Patch Set 6 : diff -r 878980a46a58 https://code.google.com/p/go #

Total comments: 2

Patch Set 7 : diff -r 878980a46a58 https://code.google.com/p/go #

Patch Set 8 : diff -r 878980a46a58 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M doc/effective_go.html View 1 2 3 4 5 6 1 chunk +16 lines, -4 lines 0 comments Download

Messages

Total messages: 15
minux1
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 11 months ago (2014-04-13 17:02:51 UTC) #1
bradfitz
R=r On Sun, Apr 13, 2014 at 10:02 AM, <minux.ma@gmail.com> wrote: > Reviewers: golang-codereviews, > ...
10 years, 11 months ago (2014-04-14 20:11:11 UTC) #2
r
https://codereview.appspot.com/87410043/diff/30001/doc/effective_go.html File doc/effective_go.html (right): https://codereview.appspot.com/87410043/diff/30001/doc/effective_go.html#newcode2063 doc/effective_go.html:2063: on a copy of the value would cause those ...
10 years, 11 months ago (2014-04-14 23:30:47 UTC) #3
minux1
PTAL.
10 years, 11 months ago (2014-04-15 06:16:48 UTC) #4
r
LGTM but perhaps someone else should sign off since it's my prose https://codereview.appspot.com/87410043/diff/50001/doc/effective_go.html File doc/effective_go.html ...
10 years, 11 months ago (2014-04-15 07:18:08 UTC) #5
bradfitz
LGTM
10 years, 11 months ago (2014-04-15 15:53:48 UTC) #6
josharian
Three suggestions, although I'll also defer to r if he's happy with it as it ...
10 years, 11 months ago (2014-04-15 17:09:22 UTC) #7
r
https://codereview.appspot.com/87410043/diff/50001/doc/effective_go.html File doc/effective_go.html (right): https://codereview.appspot.com/87410043/diff/50001/doc/effective_go.html#newcode2066 doc/effective_go.html:2066: However, a handy exception is that when the value ...
10 years, 11 months ago (2014-04-15 17:59:10 UTC) #8
minux1
On 2014/04/15 17:59:10, r wrote: > https://codereview.appspot.com/87410043/diff/50001/doc/effective_go.html#newcode2067 > doc/effective_go.html:2067: language takes care of the common ...
10 years, 11 months ago (2014-04-16 04:10:29 UTC) #9
josharian
> I'm a little confused. Are you suggesting to apply the replace to your > ...
10 years, 11 months ago (2014-04-16 05:30:32 UTC) #10
r
Yes, that's what I was pushing for. On Tue, Apr 15, 2014 at 10:30 PM, ...
10 years, 11 months ago (2014-04-16 15:06:06 UTC) #11
minux1
Hello golang-codereviews@googlegroups.com, bradfitz@golang.org, r@golang.org, josharian@gmail.com (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years, 11 months ago (2014-04-17 04:49:51 UTC) #12
josharian
LGTM On Wednesday, April 16, 2014, <minux.ma@gmail.com> wrote: > Hello golang-codereviews@googlegroups.com, bradfitz@golang.org, > r@golang.org, josharian@gmail.com ...
10 years, 11 months ago (2014-04-17 05:21:50 UTC) #13
r
LGTM after tweaks https://codereview.appspot.com/87410043/diff/90001/doc/effective_go.html File doc/effective_go.html (right): https://codereview.appspot.com/87410043/diff/90001/doc/effective_go.html#newcode2065 doc/effective_go.html:2065: any modifications would be discarded. The ...
10 years, 11 months ago (2014-04-17 05:36:52 UTC) #14
minux1
10 years, 11 months ago (2014-04-17 05:40:22 UTC) #15
*** Submitted as https://code.google.com/p/go/source/detail?r=a01b6ccd2a14 ***

doc/effective_go: mention that b.Write is a shorthand for (&b).Write when b is
addressable.

The rewrite is due to Rob.

LGTM=r, bradfitz, josharian
R=golang-codereviews, bradfitz, r, josharian
CC=golang-codereviews
https://codereview.appspot.com/87410043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b