Skip to content

proposal: io: there should be a multicloser #20136

@GrimTheReaper

Description

@GrimTheReaper

I propose there be a multi-closer like struct inside of io/multi.go. The purpose would be that multiple close objects could be returned under one. Since there are already multi objects, (ie: reader/writer), it makes sense to me to also include multistructs for other things as well, including io.closer.

https://go-review.googlesource.com/c/41814/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions