gapi icon indicating copy to clipboard operation
gapi copied to clipboard

go build issues

Open palladius opened this issue 9 years ago • 2 comments

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

palladius avatar Apr 08 '16 09:04 palladius

I suppose I have to install some go oauth packages first?

palladius avatar Apr 08 '16 09:04 palladius

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.

imjasonh avatar Apr 09 '16 16:04 imjasonh