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: support private struct-method mock #45

Merged
merged 1 commit into from
Oct 30, 2023
Merged

feat: support private struct-method mock #45

merged 1 commit into from
Oct 30, 2023

Conversation

Sychorius
Copy link
Collaborator

@Sychorius Sychorius commented Oct 23, 2023

Change-Id: I08200a4403b7f25aaf1df984b7b622e43c2ef812

What type of PR is this?

feat

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

en: Support private struct-method mock
zh: 支持mock类的私有成员函数

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 72 files.

Valid Invalid Ignored Fixed
70 2 0 0
Click to see the invalid file list
  • internal/unsafereflect/asdf/priv.go
  • internal/unsafereflect/qwer/aaa.go

internal/unsafereflect/asdf/priv.go Outdated Show resolved Hide resolved
internal/unsafereflect/qwer/aaa.go Outdated Show resolved Hide resolved
@Sychorius Sychorius force-pushed the private_method branch 6 times, most recently from 70d84ef to d3cfb79 Compare October 24, 2023 03:40
Change-Id: I08200a4403b7f25aaf1df984b7b622e43c2ef812
@Sychorius Sychorius changed the title feat: support private struct-method mocking feat: support private struct-method mock Oct 24, 2023
@Sychorius Sychorius marked this pull request as ready for review October 24, 2023 06:02
@Sychorius Sychorius merged commit 1df46d9 into main Oct 30, 2023
12 checks passed
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