[Web Feed] The upcoming Go 1.16 release has a lot of exciting updates in it, but my most...
Feed Supplier <[email protected]> Mon, 10 May 21 01:28:30 UTC
| Newsgroups | alt.comp.programming |
|---|---|
| Organization | Usenet.Farm |
| Message-ID | <[email protected]> |
.. anticipated addition to the Go standard library is the new io/ The upcoming tip.golang.org/doc/go1.16: Go 1.16 release has a lot of exciting updates in it, but my most anticipated addition to the Go standard library is the new io/fs and testing/testfs packages. Go’s io.Reader , io.Writer , and os.File interfaces go a long way in abstracting common operations on opened files. However, until now there hasn’t been a great story for abstracting an entire filesystem. Link 1 A Tour of Go 1.16's io/fs package | Ben Congdon: https://benjamincongdon.me/blog/2021/01/21/A-Tour-of-Go-116s-iofs-package