doc: avoid using golang 1.0.

We are using bufio.Scanner which is not available on golang 1.0