rubenv / sql-migrate

SQL schema migration tool for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation error

mayankgupta804 opened this issue · comments

When I am trying to install sql-migrate, I am getting this error:

go: found github.com/rubenv/sql-migrate/... in github.com/rubenv/sql-migrate v0.0.0-20200429072036-ae26b214fa43
go get: github.com/rubenv/sql-migrate@v0.0.0-20200429072036-ae26b214fa43 requires
	github.com/godror/godror@v0.13.3 requires
	github.com/go-kit/kit@v0.10.0 requires
	github.com/streadway/amqp@v0.0.0-20190827072141-edfb9018d271/go.mod: verifying module: github.com/streadway/amqp@v0.0.0-20190827072141-edfb9018d271/go.mod: malformed record data

My Go environment is: go version go1.14.2 darwin/amd64

Could someone please tell me what the issue is? I am thinking it could be an issue with the go version but I'm not quite sure.

Okay, so I ran go clean -modcache before running go mod tidy and now it works, although I am still not sure what caused the issue.