Skip to content

Version 0.2.0

Choose a tag to compare

@jcchavezs jcchavezs released this 26 Sep 10:42
· 39 commits to main since this release
d7ea2e8

What's Changed

BREAKING CHANGE!

Before exec.Execer was a concrete type with private fields which did not allow users to mock it. After this change exec.Execer becomes an interface and we will be able to mock and test it. Also exec.Result becomes a struct which eases the creation of mocked results and overall simplifies the API.

As a side effect, immutable functions like FS or WithEnv became struct methods to let the implementor to decide how to deal with this functions.

Full Changelog: v0.1.1...v0.2.0