-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ambiguous import #180
Comments
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod
is used as a transitive dependency an error occurs:
Hi @ldez, getting the same error when trying to update `github.com/hashicorp/packer imports
how do you solve this problem? |
I solve the problem by adding
|
v3.x.x is deprecated. SDK has moved to v1.x.x to confirm to the go module version standard. I believe the problem is due the go.mod added in every tencentcloud/xxx after v3.0.83 confused the go compiler ( which doesn't exist at v3.0.83 ).
|
The problem is due to the v3 exists without the right name ( |
The solution to the same problem is to fall back to version 756 go get -v github.com/tencentcloud/tencentcloud-sdk-go@v1.0.756 If you need to use the sms interface: go get -v github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms@v1.0.756
go get -v github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms/v20210111@v1.0.756 |
The problem described in #172 is still here:
I think the problem can be related to the fact that
github.com/tencentcloud/tencentcloud-sdk-go
breaks the version continuity by moving from v3 to v1.Maybe a solution can be to retract the old v3 modules:
go.mod
The text was updated successfully, but these errors were encountered: