Streams in Go are an abstraction that makes it possible to see any sort of communication or data flow as a series of readers and writers. We have already learned that streams are an important element of Go. We'll now learn how to use what we already know about input and output to control the streams related to a process—the input, output, and error.
Connecting streams
Pipes
Pipes are one of the best ways of connecting input and output in a synchronous way, allowing processes to communicate.
Anonymous pipes
Different commands can be chained in a sequence...