Skip to content

suzusime/go-tour-jp

 
 

Repository files navigation

これは A Tour of Go の簡易HTML版を生成するためのリポジトリです。 生成物は html ディレクトリ以下にあります。

生成方法のメモ

$ present -play=false

でサーバーを立てておき、別のシェルから

$ cd html
$ wget localhost:3999/content/{basics,concurrency,flowcontrol,methods,moretypes}.article
$ rename s/article/html/ *.article
$ wget localhost:3999/static/article.css
$ sed -i -e 's/\/static\/article.css/article.css/g' *.html

あとは article.css をいいかんじに編集する。


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 github.com/atotto/go-tour-jp/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

About

A Tour of Go 日本語版の簡易HTMLを生成するリポジトリ

Resources

License

Contributing

Stars

Watchers

Forks

Contributors

Languages

  • HTML 63.4%
  • Go 21.1%
  • JavaScript 10.4%
  • CSS 4.7%
  • Shell 0.4%