Skip to content

OSX setup instructions for my Go (golang) development environment

Notifications You must be signed in to change notification settings

briangershon/setup-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

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."git@github.com:".insteadOf "https://github.com/"

Install golint

go 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

About

OSX setup instructions for my Go (golang) development environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published