Documentation ¶
Overview ¶
ds is a package for using Google Cloud Datastore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DS ¶
type DS struct { // Client is the Cloud Datastore client. Client *datastore.Client // Namespace is the datastore namespace that data will be stored in. Namespace string }
func New ¶
New creates a new Cloud Datastore Client (*DS).
ctx - The Context to use when creating the client. project - The project name, i.e. "google.com:skia-buildbots". ns - The datastore namespace to store data into.
func (*DS) NewKeyWithParent ¶
NewKey a new indeterminate key of the given kind with the given parent with the right namespace.
Click to show internal directories.
Click to hide internal directories.