Files
podman/test/tools/vendor/github.com/go-openapi/runtime/discard.go
Paul Holzinger abd25c09e0 test/tools: update swagger to v0.33.2
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-10 12:48:12 +02:00

13 lines
431 B
Go

// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
// SPDX-License-Identifier: Apache-2.0
package runtime
import "io"
// DiscardConsumer does absolutely nothing, it's a black hole.
var DiscardConsumer = ConsumerFunc(func(_ io.Reader, _ any) error { return nil })
// DiscardProducer does absolutely nothing, it's a black hole.
var DiscardProducer = ProducerFunc(func(_ io.Writer, _ any) error { return nil })