我有以下项目结构:.├── daos│ ├── daos.go│ ├── daos.iml│ ├── go.mod│ └── go.sum├── entities│ ├── entities│ │ └── pets.go│ ├── entities.iml│ └── go.mod└── pkg.iml我想将模块导入entities到daos,但出现以下错误:go: finding module for package github.com/goncharovmvdev/pets/entities/petsgithub.com/goncharovmvdev/pets/daos imports github.com/goncharovmvdev/pets/entities/pets: module github.com/goncharovmvdev/pets@latest found (v0.0.0-20220625073141-e49db91a04de), but does not contain package github.com/goncharovmvdev/pets/entities/pets
添加回答
举报
0/150
提交
取消