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

net/mail: typo in ReadMessage doc #21089

Closed
yansal opened this issue Jul 19, 2017 · 2 comments
Closed

net/mail: typo in ReadMessage doc #21089

yansal opened this issue Jul 19, 2017 · 2 comments
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@yansal
Copy link
Contributor

yansal commented Jul 19, 2017

The doc at https://golang.org/pkg/net/mail/#ReadMessage says ReadMessage reads a message from r. The headers are parsed, and the body of the message will be available for reading from r.

The last part should be the body of the message will be available for reading from msg.Body. instead.

(I would be happy to send a CL to practice the contribution process.)

@bradfitz bradfitz added this to the Go1.10 milestone Jul 19, 2017
@bradfitz bradfitz added the NeedsFix The path to resolution is known, but the work has not been done. label Jul 19, 2017
@bradfitz
Copy link
Contributor

@yansal, go for it. I've marked it as Go 1.10, but if you do it very soon, it might be in Go 1.9.

@gopherbot
Copy link

CL https://golang.org/cl/50110 mentions this issue.

@golang golang locked and limited conversation to collaborators Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants