报错信息:
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 文件