Glossary: Go Beyond the Basics
io.Discard
An `io.Writer` that throws away everything written to it, used to silence logs in tests.
Glossary: Go Beyond the Basics
An `io.Writer` that throws away everything written to it, used to silence logs in tests.