Граф коммитов

411 Коммитов

Автор SHA1 Сообщение Дата
sdheisenberg 71b618d92b tour: Updated readme to specify commands needed for newbies.
Added the path to where this package was installed and the command to start the web server.
It was not intuitive to me and I thought this might help others.

Change-Id: Ifbc850d5ad909b5bdf6e3a4b28b14dfad2727786
Reviewed-on: https://go-review.googlesource.com/14920
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-24 00:30:40 +00:00
Andrew Gerrand 1ce0b89dcc Revert "tour: Enable tour navigation in IE10, IE11, and Edge"
This is totally broken on non-IE browsers.

This reverts commit 83cfec22ac.

Change-Id: I4051c11aa80f6adfd6ec60255d0b04de93b5fb9a
Reviewed-on: https://go-review.googlesource.com/14810
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-21 02:48:59 +00:00
Andrew Austin 83cfec22ac tour: Enable tour navigation in IE10, IE11, and Edge
IE browsers fire multiple events when href="". Workaround this issue by setting
href="#". Also prevent default click event from firing.

Fixes golang/go#12084

Change-Id: I72390f33d4578c04d35260032a2a845e4b2eb0b1
Reviewed-on: https://go-review.googlesource.com/14768
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-21 02:46:26 +00:00
Burcu Dogan b5f866ce8b content: add link to the Turkish translation
The translations page used to list the Turkish translation. But
the link is gone now, adding it again.

The Turkish Go Tour is a decent reference for Turkish terminology.
I haven't studied computer science in Turkish myself but don't
remember coming around a better modern document about programming
languages. I often recommend it as a terminology reference.

Change-Id: Ife11a245e25ec7964e9ae77365c8d07b1cc284db
Reviewed-on: https://go-review.googlesource.com/14406
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-09 05:10:04 +00:00
Фахриддин Балтаев 7b9e5f49f2 tour: added link to Uzbek translation.
Change-Id: Id7c28ff9471e205196d496ec3d9db984d74f52a9
Reviewed-on: https://go-review.googlesource.com/14374
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-09 03:52:49 +00:00
Andrew Gerrand bdd0d615ba content: fix wording on type inference
Fixes golang/go#12517

Change-Id: I63e4940ebef0818ee831bbb4dde81955ea28a1fe
Reviewed-on: https://go-review.googlesource.com/14354
Reviewed-by: Minux Ma <minux@golang.org>
2015-09-07 06:51:56 +00:00
Francesc Campoy c611f86e73 tour: improve sample code for methods with pointers
Fixes golang/go#12034

Change-Id: Ie63b389f7c8f7348112cb566fdc019784b2c653b
Reviewed-on: https://go-review.googlesource.com/13262
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-05 22:40:56 +00:00
Francesc Campoy 958d2daa43 tour: clarify size of int, uint, and uintptr
Fixes: golang/go#11240

Change-Id: I97c96d4e283e852123480449b5c5a157930a976b
Reviewed-on: https://go-review.googlesource.com/13135
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 23:11:54 +00:00
Francesc Campoy 268412c9c8 tour: ignore pageup and pagedown if ctrl is pressed
Fixes golang/go#11963

Change-Id: I5fb1e598042daa0a3c9137468fae9e7ce55dbce7
Reviewed-on: https://go-review.googlesource.com/13137
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-08-04 22:14:22 +00:00
Francesc Campoy e7ac802432 tour: map old urls to new ones where possible
Fixes golang/go#11103

Change-Id: Ib24ff2d7ae6ce46e1011c29234c02a76319bc743
Reviewed-on: https://go-review.googlesource.com/12775
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-28 15:40:58 +00:00
Francesc Campoy 011b65dab9 tour: add link to previous sqrt exercise
Change-Id: Ib3fcc8c1bec38b7b9fae426d61161e1ce2982ded
Reviewed-on: https://go-review.googlesource.com/12718
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-28 04:22:21 +00:00
Francesc Campoy 4d627d92a4 tour: add note regarding := with map two value assignment
Change-Id: I5c6b820e7dc0afa2d007f93c72fdb603c1d65d65
Reviewed-on: https://go-review.googlesource.com/12714
Reviewed-by: Rob Pike <r@golang.org>
2015-07-28 00:21:29 +00:00
Francesc Campoy 143a8efbd4 tour: fix click catcher so TOC hides when clicking away
Fixes golang/go#11753

Change-Id: I01488d4dcef627a2f1475f5de3cc7a0bebc6d3f7
Reviewed-on: https://go-review.googlesource.com/12432
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-20 22:49:58 +00:00
Francesc Campoy 5b8c5f080d tour: add kill button to interface
Change-Id: I91087f40329ffce4787b5e0ec84b604a0b92b53b
Reviewed-on: https://go-review.googlesource.com/12377
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-20 20:43:40 +00:00
Francesc Campoy 3cd503d84b tour: add clarification on binary tree exercise
Fixes golang/go#11692

Change-Id: I880e65c482a1b544cbf5a9e27b8ddc9174e087e7
Reviewed-on: https://go-review.googlesource.com/12179
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-15 21:54:37 +00:00
Francesc Campoy f0f03ea20a tour: use same name in code and explanation
Fixes golang/go#11713

Change-Id: If7e28520635ca1edf9c1e93f431163a8473201b1
Reviewed-on: https://go-review.googlesource.com/12200
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-15 21:54:18 +00:00
Francesc Campoy 14248bf754 tour: make context a full URL
Change-Id: I85cac356768b68aae621c9773d9bae50e54801ef
Reviewed-on: https://go-review.googlesource.com/11771
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-14 20:15:28 +00:00
Maksym Trykur e2c973aa8d tour: added link to Ukrainian translation
Change-Id: I08726419d938c81bdc60bd0fd6e67a6e14b3d3a1
Reviewed-on: https://go-review.googlesource.com/11862
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-07-03 05:36:15 +00:00
Francesc Campoy bb54c0978e tour: make bug template more descriptive
Change-Id: Ia9fd38d0a0e286c914e58016bfcbf6c3669f8183
Reviewed-on: https://go-review.googlesource.com/11731
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-30 15:46:00 +00:00
Andrew Gerrand bb76bbfad9 moretypes: remove reference to math.Pow (it's meant to be xor)
Fixes golang/go#11231

Change-Id: Id2d85520d18bc42c1c08061a2f98a88255e6adf8
Reviewed-on: https://go-review.googlesource.com/11134
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-06-16 22:45:18 +00:00
Shenghou Ma 62db935c7f content: use new blog.golang.org URLs
Change-Id: I98c1e043009bf84f81001c17e33000a830d07207
Reviewed-on: https://go-review.googlesource.com/10222
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-05-19 01:53:51 +00:00
Francesc Campoy a62fd1ebf0 tour: add missing n in significance
Fixes bug 10694

Change-Id: Iaf0c8d5d93656cfd8e4ad9762ee4e1cce0bf8496
Reviewed-on: https://go-review.googlesource.com/9639
Reviewed-by: Rob Pike <r@golang.org>
2015-05-05 17:56:56 +00:00
Shenghou Ma 6118f58319 content/methods.article: fix typo
Fixes golang/go#10667.

Change-Id: Ib6a61d6865f64abe8a659ee2087d30cdc1835401
Reviewed-on: https://go-review.googlesource.com/9671
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-05-03 19:17:10 +00:00
Shenghou Ma 2754a95b99 content/moretypes: use s to represent slices
Fixes golang/go#10666.

Change-Id: I40650edecd536e52c076fee29492107c3f536528
Reviewed-on: https://go-review.googlesource.com/9670
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-05-03 19:16:49 +00:00
Shenghou Ma 198c0f2572 content/flowcontrol.article: mention defer in the title
Fixes golang/go#10620.

Change-Id: I52d6eddc6e59d1f7812117b0923a01f632d28d29
Reviewed-on: https://go-review.googlesource.com/9494
Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
2015-04-29 20:52:03 +00:00
Francesc Campoy f0da76323f tour: add feedback button as an icon with a tooltip
This opens a new window to create an issue with a template text.

Change-Id: Ib073f6f01b959133832ab71a0bdfef77d84d12bb
Reviewed-on: https://go-review.googlesource.com/8904
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2015-04-17 22:58:31 +00:00
Nik Nyby 13c4f9bdc5 tour: fix grammatical error on Named Return Values page
Change-Id: Ide88384feaa257eab2df67912699f4c28240c859
Reviewed-on: https://go-review.googlesource.com/8667
Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
2015-04-09 05:48:15 +00:00
Josh Bleecher Snyder f2ae1359e5 tour: add codereview.cfg
See golang.org/cl/4131 for context.

Change-Id: I411073f81f83eb582d45ead5259f7f4302e31cb0
Reviewed-on: https://go-review.googlesource.com/7750
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-18 17:04:19 +00:00
Andrew Gerrand a5e7ce1552 doc: mention installation in README
Fixes #9976

Change-Id: I57f4d3526f7cd5aaf8d3d7e6b6b09843398d5d32
Reviewed-on: https://go-review.googlesource.com/7617
Reviewed-by: Minux Ma <minux@golang.org>
2015-03-16 03:44:08 +00:00
Andrew Gerrand 3a4044c7f3 tour: use simpler URL for German translation
Change-Id: I2f16fbfeabeebe5e6dee95dc40368f29495c5844
Reviewed-on: https://go-review.googlesource.com/7129
Reviewed-by: Minux Ma <minux@golang.org>
2015-03-09 02:06:46 +00:00
Andrew Gerrand 27c8720404 all: add import comments
Change-Id: I30a2b0dec44e3a41e06e418c3d7162da36b60510
Reviewed-on: https://go-review.googlesource.com/5710
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-03-09 02:04:06 +00:00
Alessandro Baffa 6102c36a7d tour: add Italian translation.
Change-Id: I387f441ace958b770630da2ac81dbe17a91fe6fc
Reviewed-on: https://go-review.googlesource.com/7042
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-03-09 02:02:31 +00:00
Andrew Gerrand b084b751e9 doc: add CONTRIBUTING.md
Change-Id: I9ed184d0eac9f0435aa6dbe9c8743a7bdd9a498f
Reviewed-on: https://go-review.googlesource.com/5212
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-18 23:43:48 +00:00
Andrew Gerrand 21b8764d50 rewrite import paths to use golang.org/x/tour
Change-Id: I3b45a599d0ced5b2cbcc289cc132d11cba71c703
2015-02-10 04:15:29 +00:00
Andrew Gerrand a941f85912 remove codereview.cfg. 2015-02-10 04:01:38 +00:00
Andrew Gerrand 5466d40d6a convert .hgignore to .gitignore. 2015-02-10 04:01:38 +00:00
Andrew Gerrand 84a144e95d remove .hgtags. 2015-02-10 04:01:38 +00:00
Shenghou Ma 446eef1486 content/welcome.article: add German translation
Reported on golang-nuts:
https://groups.google.com/d/topic/golang-nuts/pwbBQPkk2CQ/discussion

While we're here, make the use of dashes consistent.

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/197460043
2015-02-07 16:25:47 -05:00
Shenghou Ma af217d183a go-tour: update link to Simplified Chinese translation
The version on App Engine can't be accessed by most Chinese, so
we host a local version.

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/199970043
2015-01-25 02:39:36 -05:00
Francesc Campoy 0edad63fb8 go-tour: improve existing solution for binarytrees.go and add non leaky solution
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/196890043
2015-01-20 11:45:08 -08:00
Francesc Campoy dc8e90225f go-tour: add solution to the stringers exercise
Fixes #187

LGTM=minux
R=adg, minux
CC=golang-codereviews
https://golang.org/cl/191520043
2015-01-06 18:43:48 -08:00
Francesc Campoy aadca779b3 go-tour: handle disabled cookies graciously
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/189200043
2014-12-19 12:35:59 -08:00
Francesc Campoy c06ca85b8b go-tour: The TOC click-catcher shouldn't cover the TOC scrollbar.
Fixes 183

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/182510043
2014-12-05 12:10:14 -08:00
Andrew Gerrand 6d5a5d4f22 go-tour: Stringer should be an interface, not a struct
Fixes #184.

LGTM=minux
R=campoy, minux
CC=golang-codereviews
https://golang.org/cl/183100043
2014-12-05 11:12:07 +11:00
Shenghou Ma d3f076f0c6 go-tour/content/welcome.article: update restrictions of the playground.
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/182390043
2014-12-02 23:36:54 -05:00
Shenghou Ma 3bf36a971d go-tour: update sub-repo import path
I missed the appengine one in last CL.

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/176670043
2014-12-02 23:36:41 -05:00
Shenghou Ma 221538ea7f gotour: update sub-repo import paths
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/178510043
2014-12-02 01:40:44 -05:00
Francesc Campoy 3148026f43 go-tour: fix error highlighting when running locally
Fixes #9119.

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/177980043
2014-11-18 08:42:14 -08:00
Francesc Campoy 69bf2c7051 go-tour: add error highlighting
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/170040043
2014-11-11 11:07:01 -08:00
Francesc Campoy 07a2ce4221 go-tour: add semicolons removed accidnetally by gofmt
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/148990046
2014-09-29 09:36:42 -07:00