mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 14:49:32 +01:00
9fe4437bda
* Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
9 lines
337 B
Go
9 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 })
|