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

parsing go.mod: unexpected module path "github.com/go-xorm/builder" #25

Closed
idersan opened this issue Dec 20, 2018 · 2 comments
Closed

Comments

@idersan
Copy link

idersan commented Dec 20, 2018

go version go1.11.2 windows/amd64
go.mod 中使用出现问题:
go: github.com/xormplus/builder@v0.0.0-20181205170700-0185e89d0c1a: parsing go.mod: unexpected module path "github.com/go-xorm/builder"
go: error loading module requirements

@xormplus
Copy link
Owner

@idersan 重新更新下,我刚改过builder,我目前是go version go1.11.4 windows/amd64
我这没问题

@idersan
Copy link
Author

idersan commented Dec 20, 2018

解决了,步骤如下:
1 删除以前所有安装的 xorm
2 在包含go.mod 项目中执行: go get github.com/go-xorm/builder
3 在包含go.mod 项目中执行: go mod tidy

@idersan idersan closed this as completed Dec 20, 2018
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