In this chapter, I describe the features that the Go standard library provides for working with files and directories. Go runs on multiple platforms, and the standard library takes a platform-neutral approach so that code can be written without needing to understand the file systems used by different operating systems. Table
22-1 puts working with files in context.
Table 22-1Putting Working with Files in Context
Question | Answer |
|---|
What are they? | These features provide access to the file system so that files can be read and written. |
Why are they useful? ... |