An example shows fooFunc, which is a convenience type to avoid having to declare a struct to implement the Foo interface