I/O Interfaces in Go

Learn Go’s I/O system and how it’s based on files

We'll cover the following

Go provides an input-output (I/O) system based on files. This should come as no surprise since Go is the brainchild of two prominent engineers, Rob Pike and Ken Thompson, who, while at Bell Labs, designed the UNIX and Plan 9 operating systems, both of which treat (almost) everything as a file.

Go provides the io package, which contains interfaces to interact with I/O primitives such as disk files, remote files, and network services.

Get hands-on with 1200+ tech skills courses.