The Google Cloud Storage client library is a client-side library that is not dependent on any specific version of App Engine for production use. If you want to test your code using the App Engine development server, you must use the development server from the App Engine SDK 1.8.1 or greater.
Downloading the Google Cloud Storage Client Library
The Google Cloud Storage Client Library is available via the go or goapp tool. If your GOPATH is not already set, you need to first set it up, followed by downloading the oauth2 and storage packages.
-
Setting up your GOPATH
Here is an example for Linux and Mac OS X. For more information or instructions for Windows, please see the blog post: The App Engine SDK and workspaces (GOPATH).
mkdir -p $HOME/go export GOPATH=$HOME/go -
Getting the
oauth2andstoragepackagesgoapp get github.com/golang/oauth2/google goapp get google.golang.org/cloud/storageNote that these packages will be downloaded to your GOPATH
srcdirectory. -
If developing on Managed VMs, get the
appenginepackagegoapp get google.golang.org/appengine