A Tour of Go

Clone this repo:
  1. 6bb846c tour: add analytics HTML and deploy instructions by Dmitri Shuralyov · 13 days ago master
  2. 45121ac content: make welcome/3 slide more beginner friendly by Dmitri Shuralyov · 2 weeks ago
  3. 3c9f1af content: skip test if the 'go' command is missing by Bryan C. Mills · 7 weeks ago
  4. 1f1f3d2 tour: btrees do not store values just in leaves by Alberto Donizetti · 5 months ago
  5. db40fe7 tour: make space optional after "#appengine:" prefix by Dmitri Shuralyov · 7 months ago

Go Tour

A Tour of Go is an introduction to the Go programming language. Visit https://tour.golang.org to start the tour.

Download/Install

To install the tour from source, first install Go and then run:

$ go get golang.org/x/tour

This will place a tour binary in your workspace's bin directory. The tour program can be run offline.

Contributing

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.

Report Issues / Send Patches

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.

Deploying

  1. To deploy tour.golang.org, run:

    GO111MODULE=on gcloud --project=golang-org app deploy --no-promote app.yaml
    

    This will create a new version, which can be viewed within the golang-org GCP project.

  2. Check that the deployed version looks OK (click the version link in GCP).

  3. If all is well, click “Migrate Traffic” to move 100% of the tour.golang.org traffic to the new version.

  4. You're done.

License

Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.