OS-Agnostic Filesystems

Understand the basics of OS-agnostic filesystems, including filesystems and embed.

One of the newest and more exciting developments in the latest Go releases is the new io/fs and embed packages, which were introduced in Go 1.16.

While we have shown agnostic access to our local filesystem via the os package, as well as agnostic file pathing manipulation through filepath, we haven't seen an agnostic way of accessing an entire filesystem.

Get hands-on with 1200+ tech skills courses.