-
Notifications
You must be signed in to change notification settings - Fork 157
Support for archive mode #258
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use switch instead of nested if-elses to enhance readability.
sywhang
reviewed
Jun 12, 2025
sywhang
approved these changes
Jun 12, 2025
sywhang
pushed a commit
that referenced
this pull request
Jun 12, 2025
Removes the broken reflect mode in the bazel aspect, in favor of archive mode which was landed in #258 --------- Co-authored-by: Zhongpeng Lin <[email protected]>
apricote
pushed a commit
to hetznercloud/fleeting-plugin-hetzner
that referenced
this pull request
Aug 27, 2025
…eting-plugin-hetzner!269) This MR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [go.uber.org/mock](https://github.com/uber/mock) | `v0.5.2` -> `v0.6.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>uber/mock (go.uber.org/mock)</summary> ### [`v0.6.0`](https://github.com/uber-go/mock/releases/tag/v0.6.0) [Compare Source](uber-go/mock@v0.5.2...v0.6.0) #### 0.6.0 (18 Aug 2025) ##### Added - [#​258][]: Archive mode: a new mockgen mode that generates mocks out of archive files. ##### Fixed - [#​276][]: Fixed mockgen errors with go1.25 due to outdated golang.org/x/tools dependency. [#​258]: uber-go/mock#258 [#​276]: uber-go/mock#276 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43OC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNzguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support for a 3rd option for creating mocks after reflect and source-mode: the archive mode. Archive mode lets you load archive files to create mocks. This can come in handy for writing Bazel rules that produce intermediary archive files and automatically codegen mocks in Bazel environments.
Rebased version of #125