diff --git a/doc/articles/wiki/wiki.html b/doc/articles/wiki/wiki.html index 10e1e4fe492..ef5d902c6cb 100644 --- a/doc/articles/wiki/wiki.html +++ b/doc/articles/wiki/wiki.html @@ -36,7 +36,7 @@ Install Go (see the Installation Instructions).
-Make a new directory for this tutorial and cd to it:
+Make a new directory for this tutorial inside your GOPATH
and cd to it:
@@ -551,8 +551,8 @@ to the user.There is an inefficiency in this code:
renderTemplate
calls -ParseFile
every time a page is rendered. -A better approach would be to callParseFile
once for each +ParseFiles
every time a page is rendered. +A better approach would be to callParseFiles
once for each template at program initialization, and store the resultant*Template
values in a data structure for later use.