https://github.com/briangershon/setup-go
OSX setup instructions for my Go (golang) development environment
https://github.com/briangershon/setup-go
Last synced: about 2 months ago
JSON representation
OSX setup instructions for my Go (golang) development environment
- Host: GitHub
- URL: https://github.com/briangershon/setup-go
- Owner: briangershon
- Created: 2016-10-19T18:21:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-03T14:16:50.000Z (almost 7 years ago)
- Last Synced: 2025-01-12T09:45:04.357Z (4 months ago)
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Setup Go
========This is how I setup my Go development environment on OSX.
Steps
-----For OSX, `brew install golang`
`mkdir ~/go`
Add environmental variables to your profile (e.g. `~/.bash_profile`):
export GOPATH="$HOME/go"
export PATH="$PATH:$HOME/go/bin"Setup Git to support private repos (use `ssh` instead of `https`):
git config --global url."[email protected]:".insteadOf "https://github.com/"
Install golintgo get -u github.com/golang/lint/golint
Setup Atom Editor
cd ~/go
atom # this loads Atom with Go env vars# install `go-plus` plugin
Setup go dep
For OSX `brew install dep` or `go get -u github.com/golang/dep/cmd/dep`