Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation to reflect original one #78

Open
wants to merge 1 commit into
base: jp
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions content/basics.article
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ Goのプログラムは、パッケージ( _package_ )で構成されます。
規約で、パッケージ名はインポートパスの最後の要素と同じ名前になります。
例えば、インポートパスが `"math/rand"` のパッケージは、 `package`rand` ステートメントで始まるファイル群で構成します。

#appengine: *Note:* ここで実行するプログラムは常に同じ環境で実行されます
#appengine: ので、[[http://ja.wikipedia.org/wiki/%E6%93%AC%E4%BC%BC%E4%B9%B1%E6%95%B0][擬似乱数]]を返す [[https://golang.org/pkg/math/rand/#Rand.Intn][`rand.Intn`]] はいつも同じ数を返します。
#appengine:
#appengine: (数を強制的に変える場合は、乱数生成でシードを与える必要があります。[[https://golang.org/pkg/math/rand/#Seed][`rand.Seed`]]を見てみてください。
#appengine: playground 上での時間は一定なので他のものをシードとして使う必要があります。)

.play basics/packages.go

* Imports
Expand Down