July 14, 2018

Google Datastore, AppEngine and go mixup

Searching for golang packages that help you work with Google Cloud Datastore almost always led me to the package that depends on AppEngine. After a bunch of head scratching and getting stuck into weird corners, I tried to go beyond first few search results and turns out there are two very similar packages made by Google that work with Datastore but one requires AppEngine and the other doesn’t.

I am not even going to link to the AppEngine version here as it surely doesn’t need more search result optimization for sure.

So, just use this: cloud.google.com/go/datastore if you want to work with Google Cloud Datastore outside of AppEngine Standard Environment. Docs for this can be found here.

Enjoy!

© Sumit Tada 2018