Skip to content

Xgo v1.0.16

Compare
Choose a tag to compare
@xhd2015 xhd2015 released this 03 Apr 08:42
· 175 commits to master since this release

To install xgo v1.0.16:

# fresh install
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

# or upgrade
xgo upgrade

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • support mocking time.Sleep, ioutil.ReadAll
  • add trap.Direct to call the original function directly, without any mock

For documentation, see https://github.com/xhd2015/xgo.