The github.com/trustmaster/goflow package is useful for creating dataflow-based applications. It tries to abstract concepts so that you can write components and connect them together using a custom network. This recipe will recreate the application discussed in Chapter 8, Testing, but it will do so using the goflow package.
Goflow for dataflow programming
Getting ready
Configure your environment according to these steps:
- Download and install Go on your operating system from https://golang.org/doc/install and configure your GOPATH environment variable.
- Open a terminal/console application.
- Navigate to your GOPATH/src and create a project directory, for example, $GOPATH/src/github.com/yourusername/customrepo. All code will be...