Thank you! I completely missed the memo on fstest :)
On Sunday, March 28, 2021 at 6:31:24 AM UTC-4 manlio@gmail.com wrote:
> For a project I wrote a simplified MapFS, where only the file data needs
> to be specified, as a string:
>
For a project I wrote a simplified MapFS, where only the file data needs to
be specified, as a string:
https://gist.github.com/perillo/45dfe7eb1c87e2d436574cab0d11221c
Manlio
Il giorno domenica 28 marzo 2021 alle 10:06:21 UTC+2 seank...@gmail.com ha
scritto:
>
https://pkg.go.dev/testing/fstest ?
On Sunday, March 28, 2021 at 5:09:12 AM UTC+2 aind...@gmail.com wrote:
> For testing library functions that accept fs.FS, I've been creating mock
> FS implementations. However, I'm surprised by the amount of code I've had
> to write for something like an FS