Commits

Anonymous committed 0f5f6fc Draft

doc/go_tutorial: mention order of compilation

In response to this recurring issue:
http://groups.google.com/group/golang-nuts/t/710d1e8347cd51fa

R=r
CC=golang-dev
http://codereview.appspot.com/1682050

Comments (0)

Files changed (1)

doc/go_tutorial.html

 21    }
 </pre>
 <p>
-The ''<code>./</code>'' in the import of ''<code>./file</code>'' tells the compiler to use our own package rather than
-something from the directory of installed packages.
+The ''<code>./</code>'' in the import of ''<code>./file</code>'' tells the
+compiler to use the ''<code>file</code>'' package in the current directory
+rather than something from the directory of installed packages.
+</p>
+<p>
+You must compile ''<code>file.go</code>'' before any package that imports it.
 <p>
 Finally we can run the program:
 <p>