You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Adding an alias to the import such as storagetransfer "google.golang.org/api/storagetransfer/v1", appears to resolve it, although Goland complains of a redundant alias.
I am using modules.
The text was updated successfully, but these errors were encountered:
Thank you. I have not gotten a chance to test this out myself yet but it does sound like it could be a modules related issue. I will try to investigate further!
This change now makes use of go list to check for package names. This
tool is module aware and allows for better named imports.
To test this change I needed to also add a small package to our mod
file. To keep this import from disappearing from go.mod I made use
of the tools file strategy.
Note this change will change the import names in generated code. This
should not be a breaking change in user code.
Fixes#326
I'm importing
google.golang.org/api/storagetransfer/v1
in one of my source files and attempting to run mockgen on it results in:Adding an alias to the import such as
storagetransfer "google.golang.org/api/storagetransfer/v1"
, appears to resolve it, although Goland complains of a redundant alias.I am using modules.
The text was updated successfully, but these errors were encountered: