// sorted by filename. If an error occurs reading the directory,// ReadDir returns no directory entries along with the error./// Deprecated: As of Go 1.16, os.ReadDir is a more efficient and correct choice:// it returns a list of fs.DirEntry instead ...
$ ./doc net/http File type net/http.File interface{Readdir(count int) ([]os.FileInfo, error); Seek(offset int64, whence int) (int64, error); Stat() (os.FileInfo, error); io.Closer; io.Reader} $GOROOT/src/io/io.go:92:2: method (net/http.File) Close() error $GOROOT/src/...
archive/zip: error on ReadDir if there are invalid file names Mar 12, 2025 arena arena: add experimental arena package Oct 13, 2022 bufio bufio: skip network test if unixpacket socket not supported Feb 8, 2025 builtin builtin: use list instead of indentation for comments in cap, len, an...
(as described above), is now the recommended way to build and install packages in module mode.gogetshould be used with the-dflag to adjust the current module's dependencies without building packages, and use ofgogetto build and install packages is deprecated. In a future release, the-d...
Import can be satisfied by a compiled// package object without corresponding sources./// Deprecated:// The supported way to create a compiled-only package is to// write source code containing a //go:binary-only-package comment at// the top of the file. Such a package will be recognized...