content: change examples order to match text order

The hint text says

  give it floating point syntax or use a conversion

but the code has the conversion first and the fp syntax after that.

Swap them.

Fixes golang/tour#286

Change-Id: I96413285ed185451511fd32cadf5bccfe1ce566d
Reviewed-on: https://go-review.googlesource.com/56350
Reviewed-by: Rob Phoenix <rob@robphoenix.com>
Reviewed-by: Avelino <t@avelino.xxx>
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
1 file changed
tree: 4e1a4d436ce3c0997254b5706c69fbdaa7707893
  1. .gitignore
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. README.md
  7. TODO
  8. TRANSLATE
  9. app.yaml
  10. codereview.cfg
  11. content/
  12. gotour/
  13. pic/
  14. reader/
  15. solutions/
  16. static/
  17. template/
  18. tools/
  19. tree/
  20. wc/
README.md

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: http://golang.org/doc/contribute.html