CodeForPhilly / CodeForPhilly/decentralized-data

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

Aperta
#7 0 commenti 0 reazioni 1 assegnatario Rivendicata da @flyingzumwalt Vedi su GitHub
Lingua principale
CSS
Stelle
6
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.