Skip to content
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

tour: add a thorough discussion of the io interfaces #11373

Open
adg opened this issue Jun 24, 2015 · 1 comment

Comments

@adg
Copy link
Contributor

commented Jun 24, 2015

We ask the reader to implement an io.Reader, but it doesn't actually read from anything. It can be hard to see why this is a "Reader", or indeed what a "Reader" is. I think we need more detail on this topic.

@adg adg self-assigned this Jun 24, 2015

@adg adg changed the title tour: the Reader example is confusing tour: add a thorough discussion of the io interfaces Jun 26, 2015

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 11, 2015

@adg adg removed their assignment Feb 14, 2018

@adg adg added the help wanted label Feb 14, 2018

@meirf

This comment has been minimized.

Copy link
Contributor

commented May 27, 2018

Some pointers to whoever wants to help.

add a thorough discussion of the io interfaces

The discussion is currently limited to a short description here:

The io package specifies the io.Reader interface ... The Go standard library contains many implementations of these interfaces, including files, network connections, compressors, ciphers, and others.

We ask the reader to implement an io.Reader

refers to the exercise here.


For completeness, note there is one more reader exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.