google-app-enginegogoogle-glassgoogle-api-go-client

Google Glass Quickstart for GO Errors


When building the GO quickstart for the Google Glass mirror API I am getting the following error. Has anyone been able to resolve this?

attachment.go:21: can't find import: "code.google.com/p/google-api-go-client/mirror/v1"

Update to show relavant entries from .bashrc:

export PATH=$HOME/go_appengine:$PATH
export GOPATH=$HOME/go:$GOPATH

Solution

  • In your console, run go get code.google.com/p/google-api-go-client/mirror/v1 and try again. Make sure you have $GOPATH set before.