title: Golang on eclipse: "Resource doesn't have a corresponding Go package" on Mac
body: <p>As stated in the title, I have a problem running the Golang code on Eclipse. I'm currently using Mac, and I installed go by using homebrew.</p>
  
  <p>Currently, the folder where go is installed is as follows.</p>
  
  <p><code>/usr/local/Cellar/go/1.5.2/..</code></p>
  
  <p>and after running Terminal and typing <code>open ~/.bash_profile</code> I added the following.</p>
  
  <pre><code>export GOROOT="/usr/local/Cellar/go/1.5.2/"
  export PATH=$PATH:$GOROOT/bin
  </code></pre>
  
  <p>Am I still missing something else?</p>
  
  <p><strong>PS</strong> If I run the code using Terminal like <code>go run main.go</code>, I have absolutely no problem. The problem must be due to some misconfiguration in Eclipse.</p>