Skip to content

Typo in the tutorial #1020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gopherbot opened this issue Aug 10, 2010 · 1 comment
Closed

Typo in the tutorial #1020

gopherbot opened this issue Aug 10, 2010 · 1 comment

Comments

@gopherbot
Copy link
Contributor

by skaterase:

What steps will reproduce the problem?
1. Goto http://golang.org/doc/go_tutorial.html
2. In the section "An I/O Package" 
3. Look at line 15 in the example on how to use the "file" package

What is the expected output?
os.Stdout.Write(hello)

What do you see instead?
file.Stdout.Write(hello)
@robpike
Copy link
Contributor

robpike commented Aug 11, 2010

Comment 1:

Correct as written. The file package also has a Stdout.

Status changed to Invalid.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants