Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Fix mockgen for package name not matching import path #157

Merged

Conversation

hypnoglow
Copy link
Contributor

This PR provides a fix to mockgen so it runs successfully on files that have package imports with names not matching import path suffix, e.g. package named client under import path github.com/golang/mock/mockgen/tests/custom_package_name/client/v1.

Full description is in README.md below in this PR.

This commit provides a fix to mockgen so it runs successfully on files
that have package imports with names not matching import path suffix,
e.g. package named "client" under import path
"github.com/golang/mock/mockgen/tests/custom_package_name/client/v1".
@hypnoglow hypnoglow changed the title WIP: Fix mockgen for package name not matching import path Fix mockgen for package name not matching import path Mar 5, 2018
@balshetzer balshetzer merged commit 0d6884b into golang:master Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants