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

Comments

@yansal
Copy link
Contributor

@yansal 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 label Jul 19, 2017
@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented Jul 19, 2017

@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

@gopherbot gopherbot commented Jul 19, 2017

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

@gopherbot gopherbot closed this in 3498012 Jul 19, 2017
@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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.