var io.Discard
10 uses
io (current package)
io.go#L639: var Discard Writer = discard{}
github.com/klauspost/compress/zstd
bytebuf.go#L126: n2, err := io.CopyN(io.Discard, r.r, n)
log
log.go#L84: l.isDiscard.Store(w == io.Discard)
mime/multipart
multipart.go#L326: io.Copy(io.Discard, p)
net/http
client.go#L715: io.CopyN(io.Discard, resp.Body, maxBodySlurpSize)
server.go#L1418: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
server.go#L3954: io.Copy(io.Discard, mb)
transfer.go#L377: nextra, err = t.doBodyCopy(io.Discard, body)
transfer.go#L995: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
transfer.go#L1006: _, err = io.Copy(io.Discard, bodyLocked{b})
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |