The io/fs Package
Let’s learn about the io/fs package.
We'll cover the following...
Functionality of io/fs package
This lesson illustrates the functionality of the io/fs package, which was first introduced in Go 1.16. Because io/fs offers a unique kind of functionality, we begin this lesson by explaining what io/fs can do. Put simply, io/fs offers a read-only file system interface named FS. Note that embed.FS implements the fs.FS interface, which means that embed.FS can take advantage of some of the functionality offered by the ...
Ask