You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI Install instructions are incorrect for Go 1.16+ #603
aaron@local bin % go get -u -d github.com/golang-migrate/migrate/cmd/migrate
go get: module github.com/golang-migrate/migrate@upgrade found (v3.5.4+incompatible), but does not contain package github.com/golang-migrate/migrate/cmd/migrate
Steps to Reproduce
Steps to reproduce the behavior:
My migrations look like '...'
I ran migrate with the following options '....'
See error
Expected Behavior
A clear and concise description of what you expected to happen.
Migrate Version
e.g. v3.4.0
Obtained by running: migrate -version
Loaded Source Drivers
e.g. s3, github, go-bindata, gcs, file
Obtained by running: migrate -help
Loaded Database Drivers
e.g. spanner, stub, clickhouse, cockroachdb, crdb-postgres, postgres, postgresql, pgx, redshift, cassandra, cockroach, mysql
Obtained by running: migrate -help
Go Version
e.g. go version go1.11 linux/amd64
Obtained by running: go version
Stacktrace
Please provide if available
Additional context
Add any other context about the problem here.
Activity
[-]CLI Install instructions are incorrect[/-][+]CLI Install instructions are incorrect for Go 1.16+[/+]dhui commentedon Jul 28, 2021
Are you using Go 1.11 with the Go 1.16+ method for installing the CLI?
Also, have you read the notes for installing via the Go toolchain? Namely, are you installing the CLI within a module?
Good point! I'll fix that.
Have you tried
go installwithout the-ooption?Remove -o option from go install example in CLI docs
Remove -o option from go install example in CLI docs