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

Issue 6896044: code review 6896044: go-tour: convert from HTML to present format (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by adg
Modified:
11 years, 3 months ago
Reviewers:
rsc
CC:
campoy, bradfitz, francesc, rsc, golang-dev
Visibility:
Public.

Description

go-tour: convert from HTML to present format This makes it easier for us to maintain the tour, and puts the tour sample programs in individual go files that are compilable and testable. This also removes the code that shows content specific to the appengine or local versions, erring on the side of inclusivity. I intend to add some more appengine-specific stuff in a followup CL.

Patch Set 1 #

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

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

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

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

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

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

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

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

Patch Set 10 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Patch Set 11 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Patch Set 12 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Patch Set 13 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Patch Set 14 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Total comments: 14

Patch Set 15 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Total comments: 1

Patch Set 16 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Patch Set 17 : diff -r 680e321d81fd https://code.google.com/p/go-tour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2119 lines, -2248 lines) Patch
M appengine/README View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M gotour/local.go View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
A gotour/tour.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +57 lines, -0 lines 0 comments Download
A prog/advanced-exercise-complex-cube-roots.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/basic-types.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A prog/buffered-channels.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/channels.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +22 lines, -0 lines 0 comments Download
A prog/constants.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +14 lines, -0 lines 0 comments Download
A prog/default-selection.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +23 lines, -0 lines 0 comments Download
A prog/errors.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +29 lines, -0 lines 0 comments Download
A prog/exercise-equivalent-binary-trees.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +14 lines, -0 lines 0 comments Download
A prog/exercise-errors.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +14 lines, -0 lines 0 comments Download
A prog/exercise-fibonacci-closure.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download
A prog/exercise-http-handlers.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/exercise-images.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
A prog/exercise-loops-and-functions.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
A prog/exercise-maps.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
A prog/exercise-rot-reader.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
A prog/exercise-slices.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/exercise-web-crawler.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +85 lines, -0 lines 0 comments Download
A prog/exported-names.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/for.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/for-continued.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/for-is-gos-while.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/forever.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
A prog/function-closures.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
A prog/function-values.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +14 lines, -0 lines 0 comments Download
A prog/functions.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/functions-continued.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/goroutines.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
A prog/hello.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
A prog/if.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
A prog/if-and-else.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +23 lines, -0 lines 0 comments Download
A prog/if-with-a-short-statement.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -0 lines 0 comments Download
A prog/images.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
A prog/imports.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/interfaces.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -0 lines 0 comments Download
A prog/interfaces-are-satisfied-implicitly.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +28 lines, -0 lines 0 comments Download
A prog/making-slices.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A prog/map-literals.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -0 lines 0 comments Download
A prog/map-literals-continued.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +16 lines, -0 lines 0 comments Download
A prog/maps.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
A prog/methods.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A prog/methods-continued.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -0 lines 0 comments Download
A prog/methods-with-pointer-receivers.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +25 lines, -0 lines 0 comments Download
A prog/multiple-results.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
A prog/mutating-maps.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A prog/named-results.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
A prog/nil-slices.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/numeric-constants.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A prog/packages.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/pointers.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download
A prog/range.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A prog/range-and-close.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +22 lines, -0 lines 0 comments Download
A prog/range-continued.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
A prog/select.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +28 lines, -0 lines 0 comments Download
A prog/short-variable-declarations.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/slices.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
A prog/slicing-slices.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download
A prog/struct-fields.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +14 lines, -0 lines 0 comments Download
A prog/struct-literals.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
A prog/structs.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
A prog/switch.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -0 lines 0 comments Download
A prog/switch-evaluation-order.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
A prog/switch-with-no-condition.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
A prog/the-new-function.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +14 lines, -0 lines 0 comments Download
A prog/variables.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/variables-with-initializers.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
A prog/web-servers.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
R static/index.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2233 lines 0 comments Download
A static/lang.js View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M static/tour.css View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M static/tour.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +5 lines, -11 lines 0 comments Download
A template/action.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +42 lines, -0 lines 0 comments Download
A template/tour.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +83 lines, -0 lines 0 comments Download
A tour.article View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +789 lines, -0 lines 0 comments Download

Messages

Total messages: 12
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go-tour
11 years, 5 months ago (2012-12-21 00:51:04 UTC) #1
adg
For the conversion tool, see this CL: https://codereview.appspot.com/7003043
11 years, 5 months ago (2012-12-21 00:57:05 UTC) #2
adg
Added a couple of reviewers. Would love to get this done.
11 years, 4 months ago (2013-01-08 23:52:32 UTC) #3
adg
11 years, 4 months ago (2013-01-08 23:53:01 UTC) #4
francesc
https://codereview.appspot.com/6896044/diff/27077/gotour/tour.go File gotour/tour.go (right): https://codereview.appspot.com/6896044/diff/27077/gotour/tour.go#newcode54 gotour/tour.go:54: no = false break? https://codereview.appspot.com/6896044/diff/27077/prog/default-selection.go File prog/default-selection.go (right): https://codereview.appspot.com/6896044/diff/27077/prog/default-selection.go#newcode9 ...
11 years, 4 months ago (2013-01-14 11:11:45 UTC) #5
adg
Thanks for the review, but let's not change any of the tour content in this ...
11 years, 4 months ago (2013-01-14 22:32:24 UTC) #6
francesc
Fair enough. I want to modify the tour with the feedback I'm getting from the ...
11 years, 4 months ago (2013-01-14 23:03:07 UTC) #7
francesc
https://codereview.appspot.com/6896044/diff/27077/tour.article File tour.article (right): https://codereview.appspot.com/6896044/diff/27077/tour.article#newcode14 tour.article:14: I saw just another one and assumed it was ...
11 years, 4 months ago (2013-01-14 23:03:19 UTC) #8
adg
Anyone care to review this? It's not as big as it looks; just review the ...
11 years, 3 months ago (2013-01-22 23:52:43 UTC) #9
rsc
LGTM I did not look carefully at how you are parsing the templates. Is {/* ...
11 years, 3 months ago (2013-01-23 02:46:55 UTC) #10
adg
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=f2bc36ab9779 *** go-tour: convert from HTML to present format This makes it ...
11 years, 3 months ago (2013-01-23 06:39:34 UTC) #11
adg
11 years, 3 months ago (2013-01-23 06:43:24 UTC) #12
On 23 January 2013 13:46, <rsc@golang.org> wrote:

> I did not look carefully at how you are parsing the templates. Is {/*
> ... */} your own kind of thing? I thought the template package used {{/*
> ... */}}.
>

I just made a mistake.
Sign in to reply to this message.

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