Pipe and Filter architecture in Golang