<p>The docs say the workspace should look like</p>
<pre><code>bin
pgk
src
--project_folder
</code></pre>
<p>where your project resides in the src folder. But now I'm reading the article on how to build a web app <a href="http://golang.org/doc/articles/wiki/" rel="nofollow">http://golang.org/doc/articles/wiki/</a> and the project folder is placed in the root directory instead</p>
<pre><code>bin
pgk
src
project_folder
</code></pre>
<p>Should I organise my own projects this way? Also what's the point of putting it in the src if this works (and appears more organised)?</p>
<hr/>**评论:**<br/><br/>dgryski: <pre><p>The wiki is not clear. The <code>gowiki</code> directory should be under <code>src</code>. That's probably worth a bug report.</p></pre>alecthegeek: <pre><p>IMHO:</p>
<p>It's confusing and that wiki page should be updated.</p>
<p>In the examples they only use the <code>go build source.go</code> command, not the <code>go install</code> or <code>go build -i</code>. <code>go build --help</code> is your friend.</p>
<p>I often use this technique in /tmp to test small code snippets</p></pre>