commit | db40fe78fefcfdeefb4ac4a94c72cfb20f40ee77 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Fri Mar 15 11:28:36 2019 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Mon Mar 18 02:04:41 2019 +0000 |
tree | 23cdb7801c369cf2766419faad79b093d80b9e0f | |
parent | 7de0bd1d74c6d868b2007ca43ea240671a6618f1 [diff] |
tour: make space optional after "#appengine:" prefix 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>
A Tour of Go is an introduction to the Go programming language. Visit https://tour.golang.org to start the tour.
To install the tour from source, first set up a workspace and then run:
$ go get golang.org/x/tour
This will place a tour
binary in your workspace's bin
directory, which can be run offline.
Contributions should follow the same procedure as for the Go project: https://golang.org/doc/contribute.html
To run the tour server locally:
dev_appserver.py app.yaml
and then visit http://localhost:8080/ in your browser.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tour is located at https://github.com/golang/go/issues. Prefix your issue with “tour:” in the subject line, so it is easy to find.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.