-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
go get
fails because replace
directives don't work
#198
Comments
The go-getting cosmos-sdk also fails with the same error:
|
go get
fails because the replace
keyword doesn't workgo get
fails because replace
directives don't work
Jesus... Go guys have been complaining this issue for a long time: golang/go#30354 (comment) |
Oops, well, do we have to turn the logic back? |
I think we have no choice but to use I'm thinking about some workarounds. |
One workaround might be using
But, they must keep in mind that the version of replaced packages must be upgraded when the panacea-core is upgraded. |
I found that the |
When I try to
go get
the panacea-core, the following error occurs. It seems replace directives don't work. This issue was also presented in the starport repo.But, I've seen that the cosmos-sdk is go-gettable even though it also has many replace keywords: https://github.com/cosmos/cosmos-sdk/blob/12e4be34fbd2414b10756997ca3769ebaaf6bdea/go.mod#L59.
It might be related to the #197 .
The text was updated successfully, but these errors were encountered: