Skip to content

Proposal: replace gomonkey with xgo in unit test #161

@xhd2015

Description

@xhd2015

Hello guys, I'm here planning to rewrite some unit tests in the project, switching from gomonkey to xgo.

Xgo is a more go-native mocking library and provides simpler API and smoother user experience compared to gomonkey.

I'm the creator of xgo, the project can be found at https://github.com/xhd2015/xgo.

I'll create some PRs to demonstrate that xgo has better surface and lower brain overhead, wish me lucky!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions