Versions in this module Expand all Collapse all v0 v0.0.3 May 9, 2021 Changes in this version type FS + func MustNew(root string, fs fs.FS, opts ...Option) *FS + func (f *FS) ReadFile(name string) ([]byte, error) v0.0.2 Feb 20, 2021 Changes in this version type FS + func (f *FS) ReadDir(name string) ([]fs.DirEntry, error) v0.0.1 Feb 18, 2021 Changes in this version + type FS struct + func New(root string, fs fs.FS, opts ...Option) (*FS, error) + func (f *FS) Open(name string) (fs.File, error) + type Option func(*FS) error + func WithCaching(doCache bool) Option + func WithSub(sub string) Option