This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Does -imports
work? Package alias is inconsistent, and -imports does not fix it.
#646
Labels
Actual behavior A clear and concise description of what the bug is.
The package alias produced by mockgen is variable for the same inputs. Specifically, sometimes we see
extract "github.com/codeclysm/extract/v3"
and others we see
v3 "github.com/codeclysm/extract/v3"
Also, using
-imports extract=github.com/codeclysm/extract/v3
does not have any effect on the output.Expected behavior A clear and concise description of what you expected to happen.
I expect the same inputs to product the same outputs.
I expect -imports to determine the package alias.
To Reproduce Steps to reproduce the behavior
-imports
correctly, and is that the effect it's supposed to have?Additional Information
go generate
although running directly has the same output.Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered: