FileSystem

A collection of 1 post

Go: Read a file line by line

Go: Read a file line by line

In this tutorial we will look at how we can read a file line by line using Go. Go makes this incredibly easy by using bufio.NewScanner(). You can find the full source