CodeForPhilly / CodeForPhilly/decentralized-data

[Lesson: Install Go] Add links to info about GOPATH and setting environment variables

未关闭
#7 0 条评论 0 个 reaction 已指派 1 人 已被 @flyingzumwalt 认领 在 GitHub 查看
主要语言
CSS
星标
6
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

Under **"Check your Installation"**, the Getting Started page says

> Create a directory to contain your workspace, $HOME/work for example, and set the GOPATH environment variable to point to that location.

This is really confusing for someone who doesn't already understand environment variables.

Here are some references to explain these ideas:
- [Golang Docs: The GOPATH environment variable](https://golang.org/doc/code.html#GOPATH)
- [go help gopath](https://golang.org/cmd/go/#hdr-GOPATH_environment_variable)
- [Understanding Golang Packages](http://thenewstack.io/understanding-golang-packages/)
- Video: [Writing, building, installing, and testing Go code](https://www.youtube.com/watch?v=XCsL89YtqCs)

Setting environment Variables on Mac OSX:
http://stackoverflow.com/questions/7501678/set-environment-variables-on-mac-os-x-lion

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。