Skip to content

Remove deprecated ioutil.ReadAll #2119

@pedromotita

Description

@pedromotita

Description

Replace ioutil.ReadAll with io.ReadAll.

Some tests in command_test.go use the ioutil.ReadAll function from io/ioutils package. This package is deprecated as of Go 1.16, and the documentation advises to replace it with io.ReadAll

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions