Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: suport generics mocking (need go1.18+) #28

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Conversation

Sychorius
Copy link
Collaborator

@Sychorius Sychorius commented Jul 26, 2023

suport generics mocking (need go1.18+)

What type of PR is this?

feat

What this PR does / why we need it (en: English/zh: Chinese):

en: support generics like func sum[T int|float](_,_ T) T
zh: 支持泛型mock

@Sychorius Sychorius force-pushed the feat/generics branch 5 times, most recently from f7fec93 to a5850d0 Compare July 26, 2023 09:39
Copy link
Collaborator

@ycydsxy ycydsxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job :)

Change-Id: I496c16ff2fb9338bc02d852b81986669fdcb5c4f
@Sychorius Sychorius marked this pull request as ready for review July 28, 2023 06:27
@Sychorius Sychorius merged commit 92225aa into main Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants