otiai10/amesh-bot

View on GitHub
commands/discard_go115.go

Summary

Maintainability
A
0 mins
Test Coverage
// +build !go1.16

package commands

var Discard = discard{}

type discard struct {
}

func (d discard) Write(b []byte) (int, error) {
    return len(b), nil
}