Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 4-database.md #1245

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update 4-database.md #1245

wants to merge 2 commits into from

Conversation

carlzoo
Copy link

@carlzoo carlzoo commented Jan 11, 2021

There is an error in the command installing the golang-migrate module.

osboxes@osboxes:~/go/src/github.com$ go build -tags 'mysql' -ldflags="-X main.Version=1.0.0" -o $GOPATH/bin/migrate github.com/golang-migrate/migrate/v4/cmd/migrate/
cannot find package "github.com/golang-migrate/migrate/v4/cmd/migrate" in any of:
	/snap/go/6745/src/github.com/golang-migrate/migrate/v4/cmd/migrate (from $GOROOT)
	/home/osboxes/go/src/github.com/golang-migrate/migrate/v4/cmd/migrate (from $GOPATH)

The fix is based on readme.md in the module repo: https://github.com/golang-migrate/migrate/tree/master/cmd/migrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant