Skip to content

proposal: math/rand: add Reader variable #16776

@dsnet

Description

@dsnet

The crypto/rand has both a Read function and a Reader object for passing in as an io.Reader. The math/rand package only has a Read function and no Reader object.

Should we add a Reader to math/rand to make it consistent with crypto/rand?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions