os.File.Close (method, view implemented interface methods)
19 uses
os (current package)
dir.go#L120: defer f.Close()
file.go#L719: defer f.Close()
file.go#L766: if err1 := f.Close(); err1 != nil && err == nil {
file_posix.go#L19: func (f *File) Close() error {
getwd.go#L95: fd.Close()
getwd.go#L109: fd.Close()
removeall_at.go#L46: defer parent.Close()
removeall_at.go#L116: file.Close()
removeall_at.go#L149: file.Close()
sys_linux.go#L42: defer f.Close()
io/ioutil
ioutil.go#L75: f.Close()
mime
type_unix.go#L39: defer f.Close()
type_unix.go#L84: defer f.Close()
mime/multipart
formdata.go#L64: if cerr := file.Close(); err == nil {
formdata.go#L200: if err := file.Close(); err != nil {
net
parse.go#L23: func (f *file) close() { f.file.Close() }
path/filepath
match.go#L344: defer d.Close()
path.go#L588: f.Close()
path.go#L604: f.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. |