type io/fs.FS
28 uses
io/fs (current package)
fs.go#L21: type FS interface {
glob.go#L13: FS
glob.go#L33: func Glob(fsys FS, pattern string) (matches []string, err error) {
glob.go#L89: func glob(fs FS, dir, pattern string, matches []string) (m []string, e error) {
readdir.go#L15: FS
readdir.go#L28: func ReadDir(fsys FS, name string) ([]DirEntry, error) {
readfile.go#L12: FS
readfile.go#L29: func ReadFile(fsys FS, name string) ([]byte, error) {
stat.go#L9: FS
stat.go#L20: func Stat(fsys FS, name string) (FileInfo, error) {
sub.go#L14: FS
sub.go#L17: Sub(dir string) (FS, error)
sub.go#L34: func Sub(fsys FS, dir string) (FS, error) {
sub.go#L48: fsys FS
walk.go#L65: func walkDir(fsys FS, name string, d DirEntry, walkDirFn WalkDirFunc) error {
walk.go#L107: func WalkDir(fsys FS, root string, fn WalkDirFunc) error {
html/template
template.go#L497: func ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
template.go#L505: func (t *Template) ParseFS(fs fs.FS, patterns ...string) (*Template, error) {
template.go#L509: func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
template.go#L530: func readFileFS(fsys fs.FS) func(string) (string, []byte, error) {
net/http
fs.go#L747: fsys fs.FS
fs.go#L818: func FS(fsys fs.FS) FileSystem {
os
file.go#L619: func DirFS(dir string) fs.FS {
text/template
helper.go#L137: func ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
helper.go#L145: func (t *Template) ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
helper.go#L150: func parseFS(t *Template, fsys fs.FS, patterns []string) (*Template, error) {
helper.go#L171: func readFileFS(fsys fs.FS) func(string) (string, []byte, error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |