Actual behavior A clear and concise description of what the bug is.
With version 0.5.2, running mockgen -destination=./mocks/mock_playwright_page.go github.com/playwright-community/playwright-go Page generates mock file containing private type (handler playwright.routeHandler) in parameters of functions: Route and Unroute.
Expected behavior A clear and concise description of what you expected to
happen.
Running the same command with version 0.5.1 doesn't use private types in generated mock.
To Reproduce Steps to reproduce the behavior
go get -t go.uber.org/mock/[email protected]
go install go.uber.org/mock/[email protected]
mockgen -destination=./mocks/mock_playwright_page.go github.com/playwright-community/playwright-go Page
Additional Information
- gomock mode (reflect or source): ???
- gomock version or git ref: v0.5.2
- golang version: 1.24.2
Triage Notes for the Maintainers
Actual behavior A clear and concise description of what the bug is.
With version 0.5.2, running
mockgen -destination=./mocks/mock_playwright_page.go github.com/playwright-community/playwright-go Pagegenerates mock file containing private type (handler playwright.routeHandler) in parameters of functions: Route and Unroute.Expected behavior A clear and concise description of what you expected to
happen.
Running the same command with version 0.5.1 doesn't use private types in generated mock.
To Reproduce Steps to reproduce the behavior
go get -t go.uber.org/mock/[email protected]go install go.uber.org/mock/[email protected]mockgen -destination=./mocks/mock_playwright_page.go github.com/playwright-community/playwright-go PageAdditional Information
Triage Notes for the Maintainers