summaryrefslogtreecommitdiff
path: root/doc/go_tutorial.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/go_tutorial.tmpl')
-rw-r--r--doc/go_tutorial.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_tutorial.tmpl b/doc/go_tutorial.tmpl
index bde724ce3..33189189e 100644
--- a/doc/go_tutorial.tmpl
+++ b/doc/go_tutorial.tmpl
@@ -538,7 +538,7 @@ array, not just for <code>structs</code>. We'll see an example with arrays lat
The <code>String</code> method is so called because of a printing convention we'll
describe later.
<p>
-The methods use the public variable <code>os.EINVAL</code> to return the (<code>error</code>
+The methods use the public variable <code>os.ErrInvalid</code> to return the (<code>error</code>
version of the) Unix error code <code>EINVAL</code>. The <code>os</code> library defines a standard
set of such error values.
<p>