3 ms·
I’m kind of surprised they don’t mention afero at all, who was one of the first big packages to abstract filesystem access. Shoutout as they make unit testing f
by SEJeff 6y ago
I’m kind of surprised they don’t mention afero at all, who was one of the first big packages to abstract filesystem access. Shoutout as they make unit testing filesystem ops a piece of cake!
https://github.com/spf13/afero https://github.com/spf13/afero
- kyrra 6y agoThey are likely aware of it, as spf13 works on golang at Google. :)
- SEJeff 6y agoYeah I realize that. It is just surprising is all. It is a very nice to use interface. Getting an equivalent in stdlib would be great.
- shanemhansen 6y agoJust a random gopher sharing their level of surprise. I didn't know about the spf13 project, but I instantly thought of https://godoc.org/golang.org/x/tools/godoc/vfs https://godoc.org/golang.org/x/tools/godoc/vfs Looks like they mention that package in their proposal.
- mseepgood 6y agohttps://www.reddit.com/r/golang/comments/hv976o/qa_iofs_draft_design/fys9ch1/ https://www.reddit.com/r/golang/comments/hv976o/qa_iofs_draf...
- SEJeff 6y agoAwesome find, thanks!