gifted-city-99717
05/20/2020, 11:22 PMimports <http://github.com/Azure/go-autorest/autorest|github.com/Azure/go-autorest/autorest>: ambiguous import: found package <http://github.com/Azure/go-autorest/autorest|github.com/Azure/go-autorest/autorest> in multiple modules:
<http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> v12.0.0+incompatible (/Users/jws/code/gocode/pkg/mod/github.com/!azure/go-autorest@v12.0.0+incompatible/autorest)
<http://github.com/Azure/go-autorest/autorest|github.com/Azure/go-autorest/autorest> v0.10.0 (/Users/jws/code/gocode/pkg/mod/github.com/!azure/go-autorest/autorest@v0.10.0)
I think I want to pin a version of autotest? is that the right way to solve a dependency error like this?
i’m on
♥ λ go version
go version go1.14.3 darwin/amd64
lemon-agent-27707
05/20/2020, 11:28 PMreplace(
<http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> => <http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> v12.4.3+incompatible
)
gifted-city-99717
05/20/2020, 11:29 PM