I’m trying to follow the installation tutorial at https://cloud.google.com/datastore/docs/datastore-api-tutorial
But for the last step, running the application by “go run tasks.go”, I get the following error:
2017/11/10 13:21:47 Could not create datastore client: dialing: google: could not find default credentials. See https://
developers.google.com/accounts/docs/application-default-credentials for more information.
exit status 1
But, I did not have to set up this credential when following another Datastore tutorial, the Guestbook app. Can someone explain why? (I’m not allowed to post more links but you can google for that tutorial at “Creating a Guestbook Application - Google Cloud Platform”)