Notes on how to read and write using file, IO, and stream in Go language

The Go language is often programmed by combining simple functions, and error checking occurs for each function, so the code in general tends to be long. Even when I want to do something small, I need to write code accordingly, but it is tedious to write from scratch every time, so I would like to w…