Status: DEPRECATED
I'll keep this repository around because it's pretty tiny, but you can accomplish its goals using GoDoc's mapfs and httpfs. There's an example in the GoDoc.
An in-memory net/http
FileSystem
for mock-testing Go programs.
See the GoDoc for more details.
github.com/arschles/sys
is an in-memory filesystem, but does not implementnet/http
'sFileSystem
interface.github.com/blang/vfs
is an in-memory filesystem, but does not implementnet/http
'sFileSystem
interface.github.com/mjibson/esc
is an in-memory filesystem which implementsnet/http
'sFileSystem
interface, but the types are private (you are expected to generate them with theesc
tool).