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

Installation fails on go 1.5.3 #33

Closed
sharpner opened this issue Feb 18, 2016 · 7 comments
Closed

Installation fails on go 1.5.3 #33

sharpner opened this issue Feb 18, 2016 · 7 comments

Comments

@sharpner
Copy link

I tried following the readme and install the v0 branch with the following command:
go get gopkg.in/ory-am/fosite.v0/...

This results in the following error:
package gopkg.in/ory-am/fosite.v0/fosite-example imports github.com/ory-am/fosite/fosite-example/internal: use of internal package not allowed

This works:
go get gopkg.in/ory-am/fosite.v0/

Is this just a documentation problem?

Thanks for the help

@aeneasr
Copy link
Member

aeneasr commented Feb 18, 2016

Yes this is a doc error :)

@sharpner
Copy link
Author

k thx ;)

@plandem
Copy link

plandem commented Jun 18, 2016

still persists, go 1.6.1

@aeneasr
Copy link
Member

aeneasr commented Jun 18, 2016

@plandem are you sure this is the same issue and not #51 ?

@plandem
Copy link

plandem commented Jun 18, 2016

i'm getting both!

@plandem
Copy link

plandem commented Jun 18, 2016

imports github.com/ory-am/fosite/internal: use of internal package not allowed

if i comment this import, then i'm getting:

../../go/src/github.com/ory-am/fosite/token/jwt/jwt.go:29: cannot use claims.ToMap() (type map[string]interface {}) as type jwt.Claims in assignment:
        map[string]interface {} does not implement jwt.Claims (missing Valid method)

@aeneasr
Copy link
Member

aeneasr commented Jun 18, 2016

please use go get -u github.com/ory-am/fosite to install this package

budougumi0617 added a commit to budougumi0617/fosite that referenced this issue May 10, 2019
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