Skip to content

bufio: Writer doc does not say that you must call Flush #5530

@ianlancetaylor

Description

@ianlancetaylor
Given a bufio.Writer, you must call the Flush method when you are done writing.  In a
sense, this is obvious.  But the docs do not state it and I've seen at least one person
get confused and fail to call Flush.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions