| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
I always forget how to run or deploy this things
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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".
|
|
|
|
Translate comment and text in code examples.
|
|
|
|
|
|
|
|
|
|
golang/tour@ee3e019a7c9cb1e8e5889af4089bee4195a27ea9.
Change-Id: Ic7ab3deee4f29708932bb587dc7a3be7f555013c
|
|
* Perbaikan URL pada isi method.
Change-Id: Ibbf7d2efe05938a26f90821cb3f00584ff328c59
|
|
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
|
|
Change-Id: I7e3f5d974df833e852c0a348600b698446f5a6a0
|
|
Change-Id: Ia685c5bc68d3e13e3225eaf8db062d1b593d995e
|
|
Change-Id: Ieb05b557fd25d1ced32ee040c6cdb76784fde5dc
|
|
Change-Id: Id6b8297ddb91b2b809157fcea4f8711629af1510
|
|
Change-Id: I6ea08c61b307c8333d7307351819fe2768c7f567
|
|
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Fixes golang/tour#560
Change-Id: I91255fe7ddb6df16268d6adc6afa2a502f1265f0
Reviewed-on: https://go-review.googlesource.com/c/125055
Reviewed-by: Andrew Bonventre <andybons@golang.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Fixes golang/tour#615
Change-Id: I59401792b7aeddbdbf4baadeb822827bd19835cf
Reviewed-on: https://go-review.googlesource.com/138615
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|