commit | 8e3b0c2fe87f92ea28e34688bf90a281b991f4ce | [log] [tgz] |
---|---|---|
author | Yamagishi Kazutoshi <ykzts@desire.sh> | Fri Jan 26 15:12:16 2018 +0900 |
committer | Andrew Bonventre <andybons@golang.org> | Mon Jan 29 22:16:22 2018 +0000 |
tree | 6633e61387a178fa8e16fb6fc9ae8a9f34e2370b | |
parent | 8d672c900895404ef380aca75be10fa82f191f84 [diff] |
tour: check if file content is set before storing in localStorage file() returns undefined when there is no file to display, like on https://tour.golang.org/welcome/2 Change-Id: Ia26719537949c9909947068d790f07e2eee8f9ff Reviewed-on: https://go-review.googlesource.com/90075 Reviewed-by: Andrew Bonventre <andybons@golang.org>
A Tour of Go is an introduction to the Go programming language.
The easiest way to install the tour locally is to install a binary release of Go and then run:
$ go tool tour
To install the tour from source, first set up a workspace and then run:
$ go get golang.org/x/tour/gotour
This will place a gotour
binary in your workspace's bin
directory.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.
Contributions should follow the same procedure as for the Go project: https://golang.org/doc/contribute.html