title: Cannot set $GOPATH on Mac OSX
body: <p>I'm trying to set my <code>$GOPATH</code> variable to run some example code on my machine:</p>
  
  <pre><code>$ smitego-example go run main.go 
  main.go:5:2: cannot find package "github.com/#GITHUB_USERNAME#/smitego" in any of:
      /usr/local/go/src/pkg/github.com/#GITHUB_USERNAME#/smitego (from $GOROOT)
      ($GOPATH not set)
  
  $ smitego-example export $GOPATH=$HOME
  -bash: export: `=/Users/#OSX_USERNAME#': not a valid identifier
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/muv49.png" alt="enter image description here"></p>
  
  <p>Contents of <code>github.com/#GITHUB_USERNAME#/smitego/smitego.go</code>:</p>
  
  <pre><code>package smitego
  </code></pre>
  
  <p>How can I set my <code>GOPATH</code> so it works always and forever?</p>