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

Issue 196890043: code review 196890043: go-tour: improve existing solution for binarytrees.go a... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 3 months ago by francesc
Modified:
9 years, 3 months ago
Reviewers:
adg
CC:
adg, golang-codereviews
Visibility:
Public.

Description

go-tour: improve existing solution for binarytrees.go and add non leaky solution

Patch Set 1 #

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

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

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

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

Total comments: 6

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

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

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

Patch Set 9 : diff -r d1a4f15924590a381a341d981bfeb11aae9b3b19 https://code.google.com/p/go-tour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -10 lines) Patch
M solutions/binarytrees.go View 1 3 chunks +10 lines, -10 lines 0 comments Download
A solutions/binarytrees_quit.go View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 3
francesc
Hello adg@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go-tour
9 years, 3 months ago (2015-01-16 17:39:19 UTC) #1
adg
LGTM https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_quit.go File solutions/binarytrees_quit.go (right): https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_quit.go#newcode22 solutions/binarytrees_quit.go:22: // Value successfully sent. indent https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_quit.go#newcode24 solutions/binarytrees_quit.go:24: // ...
9 years, 3 months ago (2015-01-18 23:12:28 UTC) #2
francesc
9 years, 3 months ago (2015-01-20 19:45:47 UTC) #3
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=c37841cbdac8
***

go-tour: improve existing solution for binarytrees.go and add non leaky solution

LGTM=adg
R=adg
CC=golang-codereviews
https://codereview.appspot.com/196890043

https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_qui...
File solutions/binarytrees_quit.go (right):

https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_qui...
solutions/binarytrees_quit.go:22: // Value successfully sent.
On 2015/01/18 23:12:28, adg wrote:
> indent

Done.

https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_qui...
solutions/binarytrees_quit.go:24: // Iteration stopped by the consumer.
On 2015/01/18 23:12:28, adg wrote:
> delete

Done.

https://codereview.appspot.com/196890043/diff/40002/solutions/binarytrees_qui...
solutions/binarytrees_quit.go:34: // Need to close the channel here
On 2015/01/18 23:12:28, adg wrote:
> delete

Done.
Sign in to reply to this message.

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