Documentation ¶
Index ¶
- func NewTestWorld(env map[string]string, files map[string][]byte) world.World
- type MapEnv
- type MapFS
- func (m *MapFS) Getwd() (string, error)
- func (m *MapFS) Glob(name string) ([]string, error)
- func (m *MapFS) PathSeparator() rune
- func (m *MapFS) ReadFile(name string) ([]byte, error)
- func (m *MapFS) Remove(name string) error
- func (m *MapFS) Stat(name string) (fs.FileInfo, error)
- func (m *MapFS) WriteFile(name string, data []byte, perm fs.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MapFS ¶
func (*MapFS) PathSeparator ¶
Click to show internal directories.
Click to hide internal directories.