decentral1se 9e9227b420
All checks were successful
continuous-integration/drone/push Build is passing
fix: error handling and vendor
2024-08-04 10:55:35 +02:00

10 lines
337 B
Go

package runtime
import "io"
// DiscardConsumer does absolutely nothing, it's a black hole.
var DiscardConsumer = ConsumerFunc(func(_ io.Reader, _ interface{}) error { return nil })
// DiscardProducer does absolutely nothing, it's a black hole.
var DiscardProducer = ProducerFunc(func(_ io.Writer, _ interface{}) error { return nil })