diff --git a/notes/enableGo.md b/notes/enableGo.md new file mode 100644 index 0000000..9737078 --- /dev/null +++ b/notes/enableGo.md @@ -0,0 +1,12 @@ +# Enable GO + +Notes to enable/configure GO on my Mac + +``` +# GOlang related +export GOPATH="${HOME}/.go" +export GOROOT="$(brew --prefix golang)/libexec" +export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin" +test -d "${GOPATH}" || mkdir "${GOPATH}" +test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com" +``` \ No newline at end of file