Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func TestFS(fsys fs.FS, expected ...string) error + type MapFS map[string]*MapFile + func (fsys MapFS) Glob(pattern string) ([]string, error) + func (fsys MapFS) Open(name string) (fs.File, error) + func (fsys MapFS) ReadDir(name string) ([]fs.DirEntry, error) + func (fsys MapFS) ReadFile(name string) ([]byte, error) + func (fsys MapFS) Stat(name string) (fs.FileInfo, error) + func (fsys MapFS) Sub(dir string) (fs.FS, error) + type MapFile struct + Data []byte + ModTime time.Time + Mode fs.FileMode + Sys any