io.Closer.Close (method)
39 uses
io (current package)
io.go#L108: Close() error
compress/gzip
gunzip.go#L290: func (z *Reader) Close() error { return z.decompressor.Close() }
crypto/cipher
io.go#L50: return c.Close()
encoding/hex
hex.go#L141: dumper.Close()
encoding/pem
pem.go#L295: b64.Close()
github.com/go-faster/jx
w_b64.go#L40: if err := e.Close(); err != nil {
github.com/gotd/td/telegram/dcs
websocket.go#L36: _ = resp.Body.Close()
github.com/klauspost/compress/gzip
gunzip.go#L380: func (z *Reader) Close() error { return z.decompressor.Close() }
go.uber.org/multierr
error.go#L569: return Invoke(closer.Close)
go.uber.org/zap
writer.go#L65: _ = c.Close()
mime
encodedword.go#L88: w.Close()
encodedword.go#L102: w.Close()
encodedword.go#L109: w.Close()
mime/multipart
formdata.go#L303: return rc.Closer.Close()
net/http
client.go#L708: resp.Body.Close()
client.go#L980: err := b.rc.Close()
fs.go#L620: defer f.Close()
fs.go#L658: defer ff.Close()
h2_bundle.go#L7533: cs.reqBody.Close()
h2_bundle.go#L8635: cs.reqBody.Close()
h2_bundle.go#L10167: if err := gz.body.Close(); err != nil {
request.go#L1208: return l.r.Close()
request.go#L1437: return r.Body.Close()
response.go#L338: r.Body.Close()
server.go#L934: return ecr.readCloser.Close()
server.go#L1412: err = w.reqBody.Close()
server.go#L1670: w.reqBody.Close()
server.go#L1877: inFlightResponse.reqBody.Close()
transfer.go#L343: if closeErr := t.BodyCloser.Close(); closeErr != nil && err == nil {
transfer.go#L361: err = cw.Close()
transfer.go#L384: if err := t.BodyCloser.Close(); err != nil {
transport.go#L658: return r.ReadCloser.Close()
transport.go#L2832: err := es.body.Close()
net/textproto
textproto.go#L75: return c.conn.Close()
nhooyr.io/websocket
conn.go#L157: err = c.rwc.Close()
conn.go#L167: c.rwc.Close()
dial.go#L140: respBody.Close()
dial.go#L145: respBody.Close()
write.go#L120: err = mw.Close()
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |