6 ms·
I checked out the source; what's the trick for getting the dependencies into the tree? "go get" is not supported in appengine [1], and if I manually check out
by lnmx 13y ago
I checked out the source; what's the trick for getting the dependencies into the tree?
"go get" is not supported in appengine [1], and if I manually check out individual projects, I end up with extra code that will not compile in the appengine environment.
[1] https://groups.google.com/d/msg/golang-nuts/8BJ0fxrWZd4/PXyIppvzXJ8J https://groups.google.com/d/msg/golang-nuts/8BJ0fxrWZd4/PXyI...
- mjibson 13y agoUse your normal go install with a correct GOPATH set. App engine go will pick up on the GOPATH and use imports from there.
- lnmx 13y agoThat worked, thanks!
- dsymonds 13y ago"go get" is supported in App Engine, but only the download part, since the package will be built with your app (either through the dev_appserver, or when you upload it). go get -d <package>
- lnmx 13y agoThank you for the clarification, David. I also had a problem getting the app to upload: "appcfg.py update" would hang during the build phase (may be Windows-specific): https://code.google.com/p/googleappengine/issues/detail?id=9554 https://code.google.com/p/googleappengine/issues/detail?id=9...