Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace ioutil.Discard with io.Discard
Address a report by staticcheck: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. […] (SA1019)
- Loading branch information