gapi
gapi copied to clipboard
go build issues
Hi,
I've followed the README.md install process and I got this error at go build:
ricc@derek:~/git/gapi$ go build
auth.go:11:2: cannot find package "code.google.com/p/goauth2/oauth" in any of:
/usr/local/go/src/code.google.com/p/goauth2/oauth (from $GOROOT)
/usr/lib/google-golang/src/code.google.com/p/goauth2/oauth (from $GOPATH)
auth.go:12:2: cannot find package "code.google.com/p/goauth2/oauth/jwt" in any of:
/usr/local/go/src/code.google.com/p/goauth2/oauth/jwt (from $GOROOT)
/usr/lib/google-golang/src/code.google.com/p/goauth2/oauth/jwt (from $GOPATH)
import cycle not allowed
package .
imports bytes
imports errors
imports runtime
imports runtime/internal/atomic
imports unsafe
imports runtime
import cycle not allowed
package .
imports net/http
imports crypto/tls
imports crypto/x509
imports net
imports runtime/cgo
imports runtime/cgo
$ go version
go version go1.6 linux/amd64
I suppose I have to install some go oauth packages first?
There's a dependency on a repo in code.google.com which has been turned down. I'll need to update the dependency. PRs welcome if you get to it before I do.