-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the Bug
go mod tidy command fails like :
go: bookigs/dbmodels imports
github.com/golang-migrate/migrate/v4/database/postgres tested by
github.com/golang-migrate/migrate/v4/database/postgres.test imports
github.com/dhui/dktest imports
github.com/docker/docker/api/types/container: github.com/docker/docker/api@v1.52.0: parsing go.mod:
module declares its path as: github.com/moby/moby/api
but was required as: github.com/docker/docker/api
Steps to Reproduce
Steps to reproduce the behavior:
- import the migration module
- I ran go mod tidy
- See error
go: bookigs/dbmodels imports
github.com/golang-migrate/migrate/v4/database/postgres tested by
github.com/golang-migrate/migrate/v4/database/postgres.test imports
github.com/dhui/dktest imports
github.com/docker/docker/api/types/container: github.com/docker/docker/api@v1.52.0: parsing go.mod:
module declares its path as: github.com/moby/moby/api
but was required as: github.com/docker/docker/api
Expected Behavior
I expect to have resolved the dependencies correctly since
github.com/docker/docker/api
was moved to
github.com/moby/moby/api
you guys in your code should take care of the correct imports
Migrate Version
e.g. v4
Obtained by running: go mod tidy
Loaded Source Drivers
e.g. s3, github, go-bindata, gcs, file
Obtained by running: migrate -help
Loaded Database Drivers
postgres
Obtained by running: migrate -help
Go Version
go version go1.24.4 windows/amd64
Obtained by running: go version
Stacktrace
Please provide if available
Additional context
Add any other context about the problem here.