memoryfs
memoryfs copied to clipboard
Doesn't work with http.FileServerFS
Title says it all. It doesn't work with http.FileServerFS
Note that this is said by the docs:
The files provided by fsys must implement io.Seeker.
I guess this filesystem doesn't.
It seems afero's NewMemMapFs is better for that, as it implements everything
https://pkg.go.dev/github.com/spf13/afero#section-readme