defines a Go interface