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

package gopkg.in/cq.v1: unrecognized import path "gopkg.in/cq.v1" #16

Closed
0tsuki opened this issue Dec 27, 2014 · 4 comments
Closed

package gopkg.in/cq.v1: unrecognized import path "gopkg.in/cq.v1" #16

0tsuki opened this issue Dec 27, 2014 · 4 comments

Comments

@0tsuki
Copy link

0tsuki commented Dec 27, 2014

How can I use this?
I can use other packages via gopkg.in, such as gopkg.in/yaml.v2, but I can not install cq. I think it is the matter of gopkg.in...?

$ go get -v gopkg.in/cq.v1
Fetching https://gopkg.in/cq.v1?go-get=1
ignoring https fetch with status code 404
Fetching http://gopkg.in/cq.v1?go-get=1
Parsing meta tags from http://gopkg.in/cq.v1?go-get=1 (status code 404)
import "gopkg.in/cq.v1": parse http://gopkg.in/cq.v1?go-get=1: no go-import meta tags
package gopkg.in/cq.v1: unrecognized import path "gopkg.in/cq.v1"

$ go get gopkg.in/go-cq/cq.v1
package gopkg.in/go-cq/cq.v1: unrecognized import path "gopkg.in/go-cq/cq.v1"

$ curl https://gopkg.in/cq.v1
GitHub repository at https://github.com/go-cq/cq has no branch or tag "v1", "v1.N" or "v1.N.M"

$ curl https://gopkg.in/go-cq/cq.v1
GitHub repository at https://github.com/go-cq/cq has no branch or tag "v1", "v1.N" or "v1.N.M"
@freeeve
Copy link
Member

freeeve commented Dec 27, 2014

Wow, thanks for reporting this. I recently switched from using tags to using branches for gopkg.in, and travis didn't complain (it still seemed to work fine), but I've just deleted my src/gopkg.in/cq.v1 folder to test, and get the same results as you. I'll try to resolve asap.

@freeeve
Copy link
Member

freeeve commented Dec 27, 2014

Travis doesn't even use go get to test, that would be why it worked fine. In any case, apparently I needed to have a master branch in github, it seemed to work after I pushed one. Please let me know if you have an issue with it.

@freeeve freeeve closed this as completed Dec 27, 2014
@0tsuki
Copy link
Author

0tsuki commented Dec 27, 2014

Thanks for the fixing and details. It's fine:)

$ go get -v gopkg.in/cq.v1
Fetching https://gopkg.in/cq.v1?go-get=1
Parsing meta tags from https://gopkg.in/cq.v1?go-get=1 (status code 200)
get "gopkg.in/cq.v1": found meta tag main.metaImport{Prefix:"gopkg.in/cq.v1", VCS:"git", RepoRoot:"https://gopkg.in/cq.v1"} at https://gopkg.in/cq.v1?go-get=1
gopkg.in/cq.v1 (download)
gopkg.in/cq.v1/types
gopkg.in/cq.v1

@ghost
Copy link

ghost commented Mar 22, 2018

I am getting this issue.

go get -v gopkg.in/cq.v1
Fetching https://gopkg.in/cq.v1?go-get=1
https fetch failed.
Fetching http://gopkg.in/cq.v1?go-get=1
import "gopkg.in/cq.v1": http/https fetch: Get https://gopkg.in/cq.v1?go-get=1: x509: certificate has expired or is not yet valid
package gopkg.in/cq.v1: unrecognized import path "gopkg.in/cq.v1"

Any fixes/suggestions for this one?

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

2 participants