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

Issue with using the client package v2 version in go modules project #1710

Closed
ccojocar opened this issue May 14, 2020 · 1 comment
Closed

Comments

@ccojocar
Copy link
Contributor

I am trying to use client package latest v2 version in a go modules project but there is an error:

go get -u github.com/dexidp/dex@v2.24.0
go get github.com/dexidp/dex@v2.24.0: github.com/dexidp/dex@v2.24.0: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

I think the v2 version is not properly handled following these recommendations:
https://blog.golang.org/v2-go-modules

@sagikazarmark
Copy link
Member

This has been addressed in the PR. There is also a separate API package which is the only reasonable (and supported) explanation for why someone would want to import Dex.

See https://github.com/dexidp/dex/releases/tag/api%2Fv2.0.0

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 a pull request may close this issue.

2 participants