implements a Go interface defined by github.com/sgtest/go-interface-def