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

myliu/go-learn