This sample is implemented for Google App Engine and can be deployed in the cloud or tried locally. See Google's documentation for more information.
You need to set your AppID before running.
// app.go
var appID = "<Your Team ID>.<Bundle ID>"
This is sample code. Do not use in a production environment.