An in-memory fs.FS implementation for Go.
go get github.com/spiretechnology/go-memfsfs := memfs.FS{
    "foo.txt": memfs.File("Hello, world!"),
    "bar.txt": memfs.File("Goodbye, world!"),
    "foobar/baz.txt": memfs.File("Hello, again!"),
    "some/empty/dir": memfs.Dir{},
}