Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(69)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 179430043: code review 179430043: pubsub: Updated the example to use the new batch interfaces.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by tmatsuo(Google)
Modified:
11 years ago
Reviewers:
gmlewis1
CC:
gmlewis1, bradfitz, golang-codereviews
Visibility:
Public.
pubsub: Updated the example to use the new batch interfaces.

Patch Set 1 #

Patch Set 2 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 3 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Patch Set 4 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Total comments: 8

Patch Set 5 : diff -r 6ddfebb10ece https://code.google.com/p/google-api-go-client #

Created: 11 years, 1 month ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -20 lines) Patch
M examples/pubsub.go View 6 chunks +49 lines, -20 lines 0 comments Download
Total messages: 8
|
tmatsuo(Google)
Hello gmlewis@google.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/google-api-go-client
11 years, 1 month ago (2014年11月25日 14:29:32 UTC) #1
Hello gmlewis@google.com (cc: golang-codereviews@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/google-api-go-client 
Sign in to reply to this message.
gmlewis1
Sorry for the delay! I have a few minor comments below. Otherwise, LGTM. https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go File ...
11 years, 1 month ago (2014年12月01日 22:19:33 UTC) #2
Sorry for the delay!
I have a few minor comments below.
Otherwise, LGTM.
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go
File examples/pubsub.go (right):
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:265: log.Printf("Published a message to the topic with
message_id: %s.\n",
This could probably be all on the same line.
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:281: continue
This seems like it could be an infinite loop. Do you want "break" instead of
"continue"?
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:286: data, err := base64.StdEncoding.DecodeString(
This should probably be on a single line.
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:289: log.Fatal("Got an error while decoding the message: %v",
err)
log.Fatalf
Sign in to reply to this message.
tmatsuo(Google)
Thanks Glenn, PTAL https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go File examples/pubsub.go (right): https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcode265 examples/pubsub.go:265: log.Printf("Published a message to the topic ...
11 years, 1 month ago (2014年12月01日 23:42:10 UTC) #3
Thanks Glenn, PTAL
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go
File examples/pubsub.go (right):
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:265: log.Printf("Published a message to the topic with
message_id: %s.\n",
On 2014年12月01日 22:19:32, gmlewis1 wrote:
> This could probably be all on the same line.
Done.
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:281: continue
On 2014年12月01日 22:19:32, gmlewis1 wrote:
> This seems like it could be an infinite loop. Do you want "break" instead of
> "continue"?
Done.
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:286: data, err := base64.StdEncoding.DecodeString(
On 2014年12月01日 22:19:32, gmlewis1 wrote:
> This should probably be on a single line.
Done.
https://codereview.appspot.com/179430043/diff/60001/examples/pubsub.go#newcod...
examples/pubsub.go:289: log.Fatal("Got an error while decoding the message: %v",
err)
On 2014年12月01日 22:19:32, gmlewis1 wrote:
> log.Fatalf
Done.
Sign in to reply to this message.
gmlewis1
LGTM. Please add bradfitz@golang.org for final review and LGTM before submitting.
11 years, 1 month ago (2014年12月01日 23:48:49 UTC) #4
LGTM. Please add bradfitz@golang.org for final review and LGTM before
submitting.
Sign in to reply to this message.
tmatsuo(Google)
On 2014年12月01日 23:48:49, gmlewis1 wrote: > LGTM. Please add mailto:bradfitz@golang.org for final review and LGTM ...
11 years, 1 month ago (2014年12月01日 23:51:58 UTC) #5
On 2014年12月01日 23:48:49, gmlewis1 wrote:
> LGTM. Please add mailto:bradfitz@golang.org for final review and LGTM before
> submitting.
Sure.
Brad, can you take a look?
Sign in to reply to this message.
tmatsuo(Google)
On 2014年12月01日 23:51:58, tmatsuo(Google) wrote: > On 2014年12月01日 23:48:49, gmlewis1 wrote: > > LGTM. Please ...
11 years ago (2014年12月11日 16:12:11 UTC) #6
On 2014年12月01日 23:51:58, tmatsuo(Google) wrote:
> On 2014年12月01日 23:48:49, gmlewis1 wrote:
> > LGTM. Please add mailto:bradfitz@golang.org for final review and LGTM
before
> > submitting.
> 
> Sure.
> 
> Brad, can you take a look?
I think I should move this to gerrit due to the migration, and I'm going to do
that shortly.
Sign in to reply to this message.
tmatsuo(Google)
On 2014年12月11日 16:12:11, tmatsuo(Google) wrote: > On 2014年12月01日 23:51:58, tmatsuo(Google) wrote: > > On 2014年12月01日 ...
11 years ago (2014年12月11日 16:25:56 UTC) #7
On 2014年12月11日 16:12:11, tmatsuo(Google) wrote:
> On 2014年12月01日 23:51:58, tmatsuo(Google) wrote:
> > On 2014年12月01日 23:48:49, gmlewis1 wrote:
> > > LGTM. Please add mailto:bradfitz@golang.org for final review and LGTM
> before
> > > submitting.
> > 
> > Sure.
> > 
> > Brad, can you take a look?
> 
> I think I should move this to gerrit due to the migration, and I'm going to do
> that shortly.
Moved to:
https://code-review.googlesource.com/#/c/1510/ 
Sign in to reply to this message.
gobot
R=close To the author of this CL: The Go project has moved to Gerrit Code ...
11 years ago (2014年12月19日 05:16:44 UTC) #8
R=close
To the author of this CL:
The Go project has moved to Gerrit Code Review.
If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.
If there has been discussion on this CL, please give a link to it
(golang.org/cl/179430043 is best) in the description in your
new CL.
Thanks very much.
Sign in to reply to this message.
|
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /