|author||Dmitri Shuralyov <shurcooL@gmail.com>||Thu Apr 20 17:45:01 2017 -0400|
|committer||Chris Broadfoot <firstname.lastname@example.org>||Tue Apr 25 00:42:25 2017 +0000|
gotour: update CodeMirror editor to 5.25.2 Update CodeMirror editor from version 3.16 to the latest current version, which is 5.25.2. The goal is to reduce maintenance burden in the future, and make it easier to enable features like bracket matching, etc. The update was done by overwriting existing files with those from the latest CodeMirror release. No new files were added. I tested gotour locally and the new editor appears to work ok. There are no errors in console, typing works, and I noticed at least one issue resolved in the new version. Typing CodeMirror.version in browser console now prints "5.25.2". Commit 768e12fbe3f242754403a1fe72b6463e2584f5e4 applied manual changes to mode/go/go.js, but these have been merged upstream via https://github.com/codemirror/CodeMirror/commit/047afd24c563e97f6ceab8e700deabff272ec51b, https://github.com/codemirror/CodeMirror/commit/524f54a85c963f174cf4fc9c430da85b58b3e1cf, and https://github.com/codemirror/CodeMirror/commit/1ec2263e2f55f2c538a1b47301f74977e24f5bbd. As a result, I was able to use mode/go/go.js from upstream without cherry-picking those changes. Helps golang/tour#146. Helps golang/go#18723. Change-Id: I94bd687609b80de7a4ed89cf6a300a878ac9bfe6 Reviewed-on: https://go-review.googlesource.com/41207 Reviewed-by: Chris Broadfoot <email@example.com>
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
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