Go语言自述(The Go Programming Language README)

wolfogre · · 2843 次点击 · · 开始浏览    
这是一个创建于 的文章,其中的信息可能已经有所发展或是发生改变。



Go is an open source programming language that makes it easy to build simple,reliable, and efficient software.



For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.

如果你想知道如何安装和使用Go语言,请访问 https://golang.org/ ,或者在浏览器中打开该项目下的 doc/install-source.html 文件。

Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.

我们权威的Git仓库位于 https://go.googlesource.com/go 。在 https://github.com/golang/go 中也有一个仓库镜像。

Go is the work of hundreds of contributors. We appreciate your help!


To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html

如果你愿意贡献一份力量,请查看贡献指南: https://golang.org/doc/contribute.html

Note that we do not accept pull requests and that we use the issue tracker for bug reports and proposals only. Please ask questions on https://forum.golangbridge.org or https://groups.google.com/forum/#!forum/golang-nuts.

注意,我们不接受合并请求,我们只使用议题追踪来处理Bug报告和建议。请在 https://forum.golangbridge.org 或 https://groups.google.com/forum/#!forum/golang-nuts 上提问。

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


Binary Distribution Notes


If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.

如果你刚解压一个Go语言软件开发工具包分发版文件,你需要设置环境变量$GOROOT为软件开发工具包所在目录的完整路径,如果把它解压到了/usr/local/go目录下,或者你通过运行all.bash文件(详见doc/install-source.html)重新编译了,你可以省略这一步。你同样需要添加工具包中的可执行文件所在目录 $GOROOT/bin 到你的终端路径中。

For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:

举个例子,如果解压了压缩文件到 $HOME/go ,你应该把下列语句添加到你的.profile文件中:

export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin

See https://golang.org/doc/install or doc/install.html for more details.

如果你想了解更多,请访问 https://golang.org/doc/install 或查看 doc/install.html 。




查看原文:Go语言自述(The Go Programming Language README)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

2843 次点击  
加入收藏 微博
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传