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

Cannot get v4 package #134

Closed
mejmo opened this issue Dec 8, 2018 · 6 comments
Closed

Cannot get v4 package #134

mejmo opened this issue Dec 8, 2018 · 6 comments

Comments

@mejmo
Copy link

mejmo commented Dec 8, 2018

I am getting an error while importing, is it a GoLand issue? How to fix it?

github.com/golang-migrate/migrate (download)
go: warning: "github.com/golang-migrate/migrate/v4/..." matched no packages
@dhui
Copy link
Member

dhui commented Dec 8, 2018

What version of Go are you using and are modules enabled?

@dhui
Copy link
Member

dhui commented Dec 9, 2018

To be more explicit, what's in your go.mod file?

@janekolszak
Copy link

Yeah, same here:

  • I don't have go.mod
  • I'm using glide
  • Go 1.11.2

Maybe it's not possible to use migrate without using experimental golang modules?

@janekolszak
Copy link

I just read that migration v4 only supports go modules. You could have waited, it's still experimental :)

@dhui
Copy link
Member

dhui commented Dec 13, 2018

You'll need to use v3 if you're not using modules.

I just read that migration v4 only supports go modules. You could have waited, it's still experimental :)

I don't know what else to say besides read the release notes before making a snarky complaint...

dhui added a commit that referenced this issue Dec 14, 2018
    - Consolidates info about migrate major versions
    - #134 (comment)
@dhui
Copy link
Member

dhui commented Dec 14, 2018

I've updated the README to consolidate info about the major migrate versions

@dhui dhui closed this as completed Jan 2, 2019
FPiety0521 pushed a commit to FPiety0521/Golang-SQL that referenced this issue May 24, 2023
    - Consolidates info about migrate major versions
    - golang-migrate/migrate#134 (comment)
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

No branches or pull requests

3 participants