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

expects import "go.mongodb.org/mongo-driver/mongo" #4

Open
xyths opened this issue May 7, 2019 · 1 comment
Open

expects import "go.mongodb.org/mongo-driver/mongo" #4

xyths opened this issue May 7, 2019 · 1 comment

Comments

@xyths
Copy link

xyths commented May 7, 2019

main.go:8:2: code in directory $GOPATH/src/github.com/mongodb/mongo-go-driver/mongo expects import "go.mongodb.org/mongo-driver/mongo"

seem code moved from "go.mongodb.org/mongo-driver" to "github.com/mongodb/mongo-go-driver/"?

@WuShaoQiang
Copy link

You should import "go.mongodb.org/mongo-driver" instead of "github.com/mongodb/mongo-go-driver".
See if it works?

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

2 participants