google app engine - AppEngine/Go: Using a new version of Go with the SDK -


the go sdk ships go version 1.6.2 recent 1.7.1 . need enhancements/bugfixes released since 1.6.2 . however, when replace goroot directory in sdk directory contains go 1.6.2 symlink points 1.7.1, error has not being able find bin/goapp, looks appengine-specific , not provided in standard go build.

does know way upgrade go available in appengine sdk? mean go in production 1.6.2?

unfortunately you're stuck go version comes bundled in latest app engine go sdk.

even if "switch" locally go 1.7.1 , somehow manage compile , run app go 1.7.1 (by adding missing files sdk's go root), production environment uses go 1.6.2, app , go code run errors in live environment when code missing 1.6.2 referenced. deployment fail.

also note when deploy app app engine, source files uploaded, , app compiled in cloud. can't "trick" compiling locally , somehow "exclude" source files , upload binaries (binaries not uploaded).

you can't else wait go 1.7.1 (or newer version) make sdk. note go version bundled in sdk lags few versions behind, because become "live" version, needs modifications / altering sandboxed environment of app engine (certain restrictions must applied / implemented), , needs further / additional testing / strengthening regarding security.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -