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

encoding/csv's Writer.Flush should return an error #4182

Closed
nigeltao opened this issue Oct 2, 2012 · 1 comment
Closed

encoding/csv's Writer.Flush should return an error #4182

nigeltao opened this issue Oct 2, 2012 · 1 comment

Comments

@nigeltao
Copy link
Contributor

nigeltao commented Oct 2, 2012

encoding/csv/writer.go has:

func (w *Writer) Flush() {
  w.w.Flush()
}

This should be:

func (w *Writer) Flush() error {
  return w.w.Flush()
}

The Go 1 API freeze means that we can't change this for Go 1.x.
@rsc
Copy link
Contributor

rsc commented Oct 5, 2012

Comment 1:

Status changed to Duplicate.

Merged into issue #3931.

@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

3 participants