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

go mod 中引入后报错 #75

Closed
xmge opened this issue Jul 2, 2020 · 2 comments
Closed

go mod 中引入后报错 #75

xmge opened this issue Jul 2, 2020 · 2 comments

Comments

@xmge
Copy link

xmge commented Jul 2, 2020

XXXXX/XXXXX imports
        github.com/xormplus/xorm tested by
        github.com/xormplus/xorm.test imports
        github.com/go-xorm/core: github.com/go-xorm/core@v0.6.3: parsing go.mod:
        module declares its path as: xorm.io/core
                but was required as: github.com/go-xorm/core


这个如何修复呢

@xmge
Copy link
Author

xmge commented Jul 2, 2020

github.com/go-xorm/xorm v0.7.9

github.com/xormplus/builder v0.0.0-20190724032102-0ee351fedce9 // indirect
github.com/xormplus/core v0.0.0-20190724072625-00f5a85ad6e0 // indirect
github.com/xormplus/xorm v0.0.0-20190926190243-42377f593eb1

@xmge
Copy link
Author

xmge commented Jul 8, 2020

把go.mod 清空,然后重新生成就好了

@xmge xmge closed this as completed Jul 8, 2020
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

1 participant