martini-contrib / oauth2

[not maintained] Allows your Martini application to support user login via an OAuth 2.0 backend.
Apache License 2.0
125 stars 47 forks source link

New problem with "go get github.com/martini-contrib/oauth2" #47

Open shackra opened 9 years ago

shackra commented 9 years ago

I cannot install the package, see:

Project hg: ⎇ default r  
> go get github.com/martini-contrib/sessions
Project hg: ⎇ default r  
> go get github.com/martini-contrib/oauth2
package github.com/martini-contrib/oauth2
        imports github.com/golang/oauth2
        imports github.com/golang/oauth2
        imports github.com/golang/oauth2: code in directory /home/jorge/go-workspace/src/github.com/golang/oauth2 expects import "golang.org/x/oauth2"                                                                                                                                 
Project hg: ⎇ default r  
> go get golang.org/x/oauth2
Project hg: ⎇ default r  
> go get github.com/martini-contrib/oauth2
../../../github.com/martini-contrib/oauth2/oauth2.go:27:2: code in directory /home/jorge/go-workspace/src/github.com/golang/oauth2 expects import "golang.org/x/oauth2"                                                                                                                
Project hg: ⎇ default r  
> 
weslleyandrade commented 9 years ago

I made a new pull request to fix. #45 suggest await the decision of @rakyll.