-
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 #172
Comments
Thanks! fixed. |
The problem is still here: $ go mod tidy
github.com/traefik/traefik/v2/pkg/provider/acme imports
github.com/go-acme/lego/v4/providers/dns imports
github.com/go-acme/lego/v4/providers/dns/tencentcloud imports
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common: ambiguous import: found package github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common in multiple modules:
github.com/tencentcloud/tencentcloud-sdk-go v3.0.83+incompatible (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go@v3.0.83+incompatible/tencentcloud/common)
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.353 (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common@v1.0.353)
github.com/traefik/traefik/v2/pkg/provider/acme imports
github.com/go-acme/lego/v4/providers/dns imports
github.com/go-acme/lego/v4/providers/dns/tencentcloud imports
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile: ambiguous import: found package github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile in multiple modules:
github.com/tencentcloud/tencentcloud-sdk-go v3.0.83+incompatible (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go@v3.0.83+incompatible/tencentcloud/common/profile)
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.353 (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common@v1.0.353/profile)
github.com/traefik/traefik/v2/pkg/provider/acme imports
github.com/go-acme/lego/v4/providers/dns imports
github.com/go-acme/lego/v4/providers/dns/tencentcloud imports
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod/v20210323 imports
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors: ambiguous import: found package github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors in multiple modules:
github.com/tencentcloud/tencentcloud-sdk-go v3.0.83+incompatible (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go@v3.0.83+incompatible/tencentcloud/common/errors)
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.353 (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common@v1.0.353/errors)
github.com/traefik/traefik/v2/pkg/provider/acme imports
github.com/go-acme/lego/v4/providers/dns imports
github.com/go-acme/lego/v4/providers/dns/tencentcloud imports
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod/v20210323 imports
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http: ambiguous import: found package github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http in multiple modules:
github.com/tencentcloud/tencentcloud-sdk-go v3.0.83+incompatible (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go@v3.0.83+incompatible/tencentcloud/common/http)
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.353 (/home/ldez/sources/go/pkg/mod/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common@v1.0.353/http) I think the problem is related to the fact that Maybe a solution can be to retract the old v3 modules:
go.mod
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod
is used as a transitive dependency an error occurs:The error occurs because the
go.mod
file of all your modules doesn't declare the dependencies.This happens for many of your modules.
Related to #171
The text was updated successfully, but these errors were encountered: