I stumbled upon the Namespace concept for the App Engine datastore here:
Unfortunately, it's not really documented as a feature in the Go SDK.
At the same time, I did manage to create entities in different Datastore
Namespaces by using appengine.Namespace().
But I'm hesitant to use this feature given the overall lack of
functionality and documentation.
As an alternative, I'm considering using ancestor paths to mimic namespaces.
In other words, I would create a Namespace kind with entities for each
And then always include include the "namespace key" in the ancestor path of
all entities of any kind.
I'm brand new to GAE, Go, the datastore ~~ everything.
Wondering if I'm on the right track or getting too fancy.
I would like to build several applications using a single GAE datastore and
keep their data separate.
Thanks for any insight here.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.