Hi there this question was probably asked before but I thought I`d ask once more.
I am building an web app with go that is pooling data from external couchbase server and currently I am stuck on this:
“go-app-builder: Failed parsing input: parser: bad import “unsafe” in gopkg.in/couchbase/gocbcore.v7/agent.go from GOPATH”
Is there anything I can do about this error.
Thank you in advance
You cannot deploy to App Engine any library which using
couchbase SDK for golang is one of them: https://github.com/couchbase/gocbcore/search?q=unsafe
You should try other solutions instead. For example, it is pretty easy to deploy your golang code to Heroku: https://devcenter.heroku.com/articles/getting-started-with-go#introduction
I have some ideas on how we might be able to resolve this, but it will take some time to set up the neccessary infrastructure to ensure we make the neccessary changes without negatively impacting the performance of the SDK. I have opened an issue to track this, as I believe that the ability to deploy the SDK onto GAE is certainly an important one: https://issues.couchbase.com/browse/GOCBC-293.
thanks for the replays guys … i think Ill go with heroku apps … as suggested by avsej …