The Datastore API reference for Go has a GetAll function that returns a slice of entities. Isn't there a method that just returns the first entity found instead of a list?
GetAll
executes a query that returns all entities that match query conditions. If you want to return just one, set Limit(limit int)
to 1.