↳
In-reply-to
»
I'm finally continuing with my
⤋ Read More
tt
rewrite in Go. So, I thought I use the shiny io/fs.FS
. That's supposed to be a super cool new file system API. It allowed me to write tests more elegantly. I don't have to place actual test files on disk, but can keep everything nicely in RAM with testing/fstest.MapFS
. That actually worked out great, I do like that.
https://github.com/spf13/afero looks better, but has a gazillion dependencies. So that’s out.