github.com/krystal/go-runner (go): Package runner exposes a simple interface for executing commands, enabling easy mocking and wrapping of executed commands.  The Runner interface is basic and minimal, but it is sufficient for most use cases. This makes it easy to mock Runner for testing purposes.  It's also easy to create wrapper runners which modify commands before executing them. The Sudo struct is a simple example of this.
Keywords: exec|execution|go|golang|testing