<p dir="auto">by <strong>peterbourgon</strong>:</p>
<pre class="notranslate">In the spec, under "For statements", the topic of deleting map entries during
iteration is addressed with only the sentence:

&gt; If map entries that have not yet been reached are removed during iteration, the
corresponding iteration values will not be produced.

This program appears to work fine:

&gt; <a href="http://play.golang.org/p/P-O47Wp2LF" rel="nofollow">http://play.golang.org/p/P-O47Wp2LF</a>

But the spec doesn't seem to *guarantee* that it will work. If this is guaranteed
behavior, can the spec be clarified? Specifically, can this sentence (or one like it) be
added:

&gt; The current entry in a map iteration may be safely deleted.</pre>
<p dir="auto">by <strong>Douglas.Linder</strong>:</p>
<pre class="notranslate">The documentation of go build, here:
<a href="http://golang.org/pkg/go/build/" rel="nofollow">http://golang.org/pkg/go/build/</a>

Does not account for the possibility of a source file that starts:

    // +build TAG
    package xxx

This results in the comment being treated as a package comment and not as a tag. The
correct behaviour is achieved by adding an additional line, as:

    // +build TAG
 
    package xxx

However, this does not appear in the documentation, which should be updated from:

&gt; Constraints may appear in any kind of source file (not just Go), but they must
appear near the top of the file, preceded only by blank lines and other line comments.

To something that declares that the tag must *also* always be followed by at least one
single blank line, eg.

&gt; Constraints may appear in any kind of source file (not just Go), but they must
appear near the top of the file, preceded only by blank lines and other line comments,
// and followed by at least one single newline so as not to be treated as a comment
attached the following elements.  //

Additional information is available on this SO thread:
<a href="http://stackoverflow.com/questions/10646531/golang-conditional-compilation/10649653#10649653" rel="nofollow">http://stackoverflow.com/questions/10646531/golang-conditional-compilation/10649653#10649653</a></pre>