Skip to content
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

Wrong import path? #119

Closed
emas80 opened this issue Jul 31, 2020 · 3 comments
Closed

Wrong import path? #119

emas80 opened this issue Jul 31, 2020 · 3 comments

Comments

@emas80
Copy link

emas80 commented Jul 31, 2020

When I add the import to my go file (XXX/YYYY/ZZZZ file)

import "go.mongodb.org/atlas/mongodbatlas"

all I get is this message:

go: finding module for package go.mongodb.org/atlas/mongodbatlas
go: found go.mongodb.org/atlas/mongodbatlas in go.mongodb.org/atlas v0.3.0
go: github.com/XXX/YYYY/ZZZZ imports
	go.mongodb.org/atlas/mongodbatlas: go.mongodb.org/atlas@v0.3.0: parsing go.mod:
	module declares its path as: github.com/mongodb/go-client-mongodb-atlas
	        but was required as: go.mongodb.org/atlas

am I doing anything wrong?

@gssbzn
Copy link
Collaborator

gssbzn commented Jul 31, 2020

Hi @emas80, sorry about this, I think this is due to us not having tagged a version since we introduced the vanity url
Right now you can get around this issue by installing from master

go get -u go.mongodb.org/atlas@master

We'll try to make a tag as soon as possible

@themantissa
Copy link
Collaborator

@emas80 newest version is out, 0.4.0, should be what was needed.

@themantissa
Copy link
Collaborator

@emas80 will assume things are okay for you and close the issue. However feel free to reach out if this did not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants