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

Add ControllerOption #24

Merged
merged 1 commit into from
Jul 1, 2023
Merged

Add ControllerOption #24

merged 1 commit into from
Jul 1, 2023

Conversation

sywhang
Copy link
Contributor

@sywhang sywhang commented Jun 30, 2023

Originally discussed in golang/mock#238.

This adds a functional option parameter to NewController to allow adding future configurations to control the behavior of Controller.

This will come in handy for implementing features like the one in #22.

Originally discussed in golang/mock#238.

This adds a functional option parameter to NewController to allow
adding future configurations to control the behavior of Controller.

This will come in handy for implementing features like the one in
@sywhang sywhang merged commit fcef047 into uber-go:main Jul 1, 2023
2 checks passed
@sywhang sywhang deleted the controller-opts branch July 1, 2023 00:16
sywhang added a commit to sywhang/mock that referenced this pull request Jul 5, 2023
Originally discussed in golang/mock#238.

This adds a functional option parameter to NewController to allow adding
future configurations to control the behavior of Controller.

This will come in handy for implementing features like the one in uber-go#22.
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