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

初始化项目,由于mergo地址变了,下载依赖报错 #8

Open
yoas0bi opened this issue Jun 27, 2023 · 0 comments
Open

初始化项目,由于mergo地址变了,下载依赖报错 #8

yoas0bi opened this issue Jun 27, 2023 · 0 comments

Comments

@yoas0bi
Copy link

yoas0bi commented Jun 27, 2023

报错信息:
go: apps/book imports github.com/imdario/mergo: github.com/imdario/mergo@v1.0.0: parsing go.mod: module declares its path as: dario.cat/mergo but was required as: github.com/imdario/mergo
原因:
依赖地址变了,原地址:imdario/mergo
现在地址:dario.cat/mergo
需要手动下载go get dario.cat/mergo
并修改apps->book->app.go 文件

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