aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-25Update repo link to use Go ID communityShulhan
2020-01-25Sinkronisasi dengan golang/tour@037f635Shulhan
2020-01-25Sinkronisasi dengan golang/tour@65fff99M. Shulhan
2020-01-25Add MakefileM. Shulhan
I always forget how to run or deploy this things
2020-01-25Sinkronisasi dengan golang/tour@0a50b6ab7c6ae842684a35d4a1f3d0c6906436daM. Shulhan
2020-01-25welcome,basics: perbaikan pembacaan dan formatM. Shulhan
2020-01-25Sikronisasi dengan golang/tour@c9941e54e5b8e9618a8c951bc89798f85f6a7a71M. Shulhan
2020-01-25Fix repo URL and command to run local goapp server.Mhd Sulhan
2020-01-25Sync with golang/tour@41d86d51aaa4f1cf4f66e42456ba137c93cad950Mhd Sulhan
2020-01-25Translate text in template and html files.Mhd Sulhan
2020-01-25Sync with golang/tour@7c06ad9257cff25132371c45de4456aaa2bfc2b7.Mhd Sulhan
2020-01-25Fix import check, use our repository path not official golang.Mhd Sulhan
It cause "go install" return "can't install package" which make user can not update all packages in their working directory using "go install -v -a".
2020-01-25Sync with golang/tour@a4d680413ab45695cc2c6c3e232d508aeb637f25.Mhd Sulhan
2020-01-25Sync with golang/tour@9616eac69404c8d4aab36bf42624b08e2e8dffd2Mhd Sulhan
Translate comment and text in code examples.
2020-01-25Sync with golang/tour@cf672f18b3ea5584028440a6624c7c6c94c6d584Mhd Sulhan
2020-01-25Sync with golang/tour@d117a43c4902b2e5ea407a63c8413b8befd81459.Mhd Sulhan
2020-01-25Updat README to match with this tour.Mhd Sulhan
2020-01-25content: expand discussion of methodsMhd Sulhan
2020-01-25[go-tour-id] Sinkronisasi dengan ↵Mhd Sulhan
golang/tour@ee3e019a7c9cb1e8e5889af4089bee4195a27ea9. Change-Id: Ic7ab3deee4f29708932bb587dc7a3be7f555013c
2020-01-25[go-tour-id/go-tour-id] Tambah penjelasan untuk pengulangan for.Mhd Sulhan
* Perbaikan URL pada isi method. Change-Id: Ibbf7d2efe05938a26f90821cb3f00584ff328c59
2020-01-25[go-tour-id/go-tour-id] Sinkronisasi dengan ↵Mhd Sulhan
golang/tour@d6cf78315b46df393966691c41c78c76b5b405a7. * Perbaikan https menjadi http untuk localhost. * Pertukaran layout, kode disebelah kanan dan slide sebelah kiri. * Penambahan slide untuk menerangkan slices dapat berisi slices. Change-Id: Ic2c653805d1304abdd4a7507cbc17ef1d55a6470
2020-01-25[go-tour-id/go-tour-id] AppEngine sensitif terhadap tanda titik di awal baris.Mhd Sulhan
Change-Id: I7e3f5d974df833e852c0a348600b698446f5a6a0
2020-01-25[go-tour-id/go-tour-id] Ubah http menjadi https.Mhd Sulhan
Change-Id: Ia685c5bc68d3e13e3225eaf8db062d1b593d995e
2020-01-25[go-tour-id/go-tour-id] Setelah "#appengine:" harus ada satu spasi.Mhd Sulhan
Change-Id: Ieb05b557fd25d1ced32ee040c6cdb76784fde5dc
2020-01-25[go-tour-id/go-tour-id] Perbaikan format dan bahasa.Mhd Sulhan
Change-Id: Id6b8297ddb91b2b809157fcea4f8711629af1510
2020-01-25[go-tour-id/go-tour-id] Ubah format menjadi teks normal, bukan markdown.Mhd Sulhan
Change-Id: I6ea08c61b307c8333d7307351819fe2768c7f567
2020-01-25Update feedback message and git url.Mhd Sulhan
2020-01-25Artikel diterjemahkan ke bahasa Indonesia.Mhd Sulhan
2020-01-25Translated function closure exercise.Akeda Bagus
2020-01-25Translate comment in if-and-else.goAkeda Bagus
2020-01-06content: use singular "interface" when discussing ReaderAndrei Enshin
Change-Id: I830a3bf4cfffe96f90c68e725d3806114543f360 GitHub-Last-Rev: dcefcf469c789f262d8452f6a642aa31d235f172 GitHub-Pull-Request: golang/tour#878 Reviewed-on: https://go-review.googlesource.com/c/tour/+/212817 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2020-01-06tour: update README after App Engine runtime changeMartin Kunc
After update to Go 1.12 (in CL 198320), the local server is not needed (or even available). Instead these new instructions will start a local instance. Change-Id: Ie24b9c9f902ebd70d3b3b9ff8d2c4aa49be631bd GitHub-Last-Rev: b3facf0d8dd5ceccea4c2260b5fab4f6f731e827 GitHub-Pull-Request: golang/tour#880 Reviewed-on: https://go-review.googlesource.com/c/tour/+/212999 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-12-06content: add Arabic to the list of available languagesIbrahim AshShohail
Add Arabic to the list of languages available. Change-Id: I61f7dffc92cb70f9c436ac7b3ff6243d3c695e44 GitHub-Last-Rev: 3574b0b84e9e0236833518840f393bb817a1e1ca GitHub-Pull-Request: golang/tour#862 Reviewed-on: https://go-review.googlesource.com/c/tour/+/209958 Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
2019-12-04tour: Rename mux -> mu to follow conventionEvan Jones
Nearly all sync.Mutex members in the standard library are named mu, or use "mu" as part of the name. While this isn't a documented recommendation anywhere that I can find, it would seem nice to start new users with this same convention. Change-Id: I67cbe2a0052b81d8bb57d5ece0cefd2f3838f298 GitHub-Last-Rev: 31ef869d9b72e7eb08b9be9340242b0e535a175f GitHub-Pull-Request: golang/tour#813 Reviewed-on: https://go-review.googlesource.com/c/tour/+/192725 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-02tour: add analytics HTML and deploy instructionsDmitri Shuralyov
When deployed with App Engine on tour.golang.org, insert analytics HTML at the beginning of <head>. Add deploy instructions to the README. Also update to the App Engine Go 1.12 runtime. Change-Id: Ib3333290783f34eb00843006cf949308302b342d Reviewed-on: https://go-review.googlesource.com/c/tour/+/198320 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-01content: make welcome/3 slide more beginner friendlyDmitri Shuralyov
Re-add the link to installing Go on the welcome/3 slide, because it's a pre-requisite for being able to run go get. This was included before, but got lost in a refactor after the tour binary moved out of the Go distribution. Additionally, make it more clear that installing the tour locally is an optional step that only needs to be done if one wishes to run the tour offline; it's not mandatory to get through the tour. Running the tour online has a lower overhead, and should help keep the tour accessible to more people. Fixes golang/go#34585 Updates golang/go#24819 Change-Id: If5f51e9e876722a86afca054bf78428f78bb3076 Reviewed-on: https://go-review.googlesource.com/c/tour/+/197857 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-08-29content: skip test if the 'go' command is missingBryan C. Mills
Change-Id: I52c906fc33b1e94c64419cbf574f15d67ce90e39 Reviewed-on: https://go-review.googlesource.com/c/tour/+/192328 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-06-11tour: btrees do not store values just in leavesAlberto Donizetti
The concurrency/7 slide (the binary tree exercise) says: > There can be many different binary trees with the same sequence of values stored at the leaves. Which is misleading: in the btree in the exercise, values are not stored just in the leaves, the internal nodes hold values too. Fixes golang/tour#774 Change-Id: I71af71ccf36ac8ad87dfe73b751b461890c3a7e0 Reviewed-on: https://go-review.googlesource.com/c/tour/+/179937 Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-03-18tour: make space optional after "#appengine:" prefixDmitri Shuralyov
This change improves the algorithm that detects the "#appengine:" blocks to make the space after colon optional rather than mandatory. That makes it possible to have an empty line with the "#appengine:" prefix, without requiring a trailing space after the colon. It's convenient whenever such a block contains multiple paragraphs, e.g.: #appengine: * Go offline #appengine: #appengine: This tour is also available as a stand-alone program #appengine: that you can use without access to the internet. #appengine: #appengine: The stand-alone tour is faster, as it builds and runs #appengine: the code samples on your own machine. People often have editors set to trim trailing whitespace on save, so it's helpful to improve the algorithm, instead of having significant trailing whitespace and relying on people to not accidentally remove it. Now that the trailing whitespace is no longer signifiant, remove it. Also fix a typo: s/non-blank like/non-blank line/. Change-Id: I42d41634dd30e307ac98214cb94b1f97a8032f08 Reviewed-on: https://go-review.googlesource.com/c/tour/+/167837 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
2019-03-13content: fix formatting on appengine-specific slidesAndrew Gerrand
The trailing spaces on empty 'appengine:' lines were removed at some point, but those spaces are actually critical to making the formatting work. Take a look at https://tour.golang.org/welcome/3 to see how it's broken; there are no line breaks or code block formatting. The algorithm for transforming the 'appengine:' blocks could be improved, but the easy fix right now is to restore the trailing spaces. Change-Id: I1d2ba085e4b09099b073a521ca20e4333e69bbe9 Reviewed-on: https://go-review.googlesource.com/c/tour/+/165477 Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-03-12all: add go.modBryan C. Mills
Commands run: go mod init go mod edit -go=1.11 go mod tidy go list -m all go test ./... Updates golang/go#30228 Change-Id: I3d7e4f59a98822691177973ec2d7a55a6216b78c Reviewed-on: https://go-review.googlesource.com/c/tour/+/167181 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-07tour: deploy with App Engine Standard on Go 1.11Dmitri Shuralyov
This change upgrades the deployment of tour to use the newer Go 1.11 runtime. As part of that, the appengine build tag is removed (it's no longer set by App Engine), and the GAE_ENV environment variable is used to detect when tour is being run in App Engine mode. Set an environment variable in app.yaml to configure the x/tools/godoc/golangorgenv package appropriately. Factor out the static file handlers in local.go, but keep static file handlers in app.yaml for improved latency across global regions. Updates golang/go#30486 Change-Id: Ia5bc88aab34fd07bf6ff0785da831180f509156f Reviewed-on: https://go-review.googlesource.com/c/tour/+/165537 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-02-06tour: update Spanish tour linkWenzel Lowe
Currently, go-tour-es.appspot.com is a 404, but the correct link for Spanish tutorial can be seen at gotour-es.appspot.com. Change-Id: I3e3f34a6e72fb59283c8a282b5e996babdf1e9f3 GitHub-Last-Rev: ce817cb3e1d7f4b1a30c9f0f43f5abed5555affc GitHub-Pull-Request: golang/tour#687 Reviewed-on: https://go-review.googlesource.com/c/158918 Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-01-30content: clarify semantics of range clauseB.G.Adrian
Fixes golang/tour#560 Change-Id: I91255fe7ddb6df16268d6adc6afa2a502f1265f0 Reviewed-on: https://go-review.googlesource.com/c/125055 Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-11-09tour: update README to more closely match the blogKatie Hockman
The new README for the tour has a similar markdown structure to the blog, and includes instructions for filing issues and running local servers. Change-Id: I8392598d78d4c9b3c0341c38f0a64c52a2aac070 Reviewed-on: https://go-review.googlesource.com/c/148038 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2018-11-09content: add newline to Printf call in flowcontrolAlberto Donizetti
A missing \n doesn't matter when running the playground in the browser, but apparently sometimes people copy the tour code snippets in their editors; and anyway it's probably slightly nicer to be consistent with the newlines. Fixes golang/tour#642 Change-Id: I24d048e96620cbdaa668644e1460749cbea66ac5 Reviewed-on: https://go-review.googlesource.com/c/148617 Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-11-07tour: update to new favicon.icoKatie Hockman
Change favicon.ico to newer high resolution version from main project. Change-Id: Iba9a5b13cb9615eaf10167a531065b9f8e101a71 Reviewed-on: https://go-review.googlesource.com/c/148037 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2018-10-19tour: make the tour deployable on App Engine againAndrew Bonventre
Move the main Go files into the same directory as the app.yaml file. This changes the command location to be at golang.org/x/tour instead of golang.org/x/tour/gotour. Add a placeholder command in gotour so that those who use the previous installation command will know to use the new one and it won't just seem like it has vanished. Also update the documentation to take into account that the tour is no longer distributed with releases as of golang.org/cl/131156 Fixes golang/go#28163 Change-Id: I60737f0cfaa93d12902a75fbc0924d96672a8c9b Reviewed-on: https://go-review.googlesource.com/c/141857 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2018-10-12content: fix grammar in flowcontrol.articleJoe Bowbeer
The lack of agreement in tense between the parallel verbs `execute` (_are executed_) and `return` in this sentence threw me. This simpler construction is more grammatically correct, according to some standards, and less confusing to me. Change-Id: I6351ce29a684d9b0d18f57b914072c43219401aa GitHub-Last-Rev: c6f29ca49a4e523c6d2cd2476f66a22fb7448881 GitHub-Pull-Request: golang/tour#629 Reviewed-on: https://go-review.googlesource.com/c/141577 Reviewed-by: Rob Pike <r@golang.org>
2018-10-02content: add newline to imports.go Printf callAlberto Donizetti
Fixes golang/tour#615 Change-Id: I59401792b7aeddbdbf4baadeb822827bd19835cf Reviewed-on: https://go-review.googlesource.com/138615 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>