The github.com/trustmaster/goflow package is useful for creating data flow-based applications. It tries to abstract the concepts so that you can write components and connect them together using a custom network. This recipe will recreate the application discussed in Chapter 9, Testing Go Code, but will do so using the goflow package.