fix example and e2e test

This commit is contained in:
hezijie
2023-11-21 16:31:26 +08:00
parent 5895b4f1c4
commit 99037bb0e5
4 changed files with 61 additions and 4 deletions

View File

@ -0,0 +1,11 @@
package e2e
import "io"
var discardWriter io.Writer = discard{}
type discard struct{}
func (d discard) Write(p []byte) (n int, err error) {
return len(p), nil
}