Documentation
¶
Index ¶
- func IDKeyWithNamespace(kind, namespace string, id int64, parent *datastore.Key) (*datastore.Key, error)
- func IncompleteKeyWithNamespace(kind, namespace string, parent *datastore.Key) (*datastore.Key, error)
- func MustIDKeyWithNamespace(kind, namespace string, id int64, parent *datastore.Key) *datastore.Key
- func MustIncompleteKeyWithNamespace(kind, namespace string, parent *datastore.Key) *datastore.Key
- func MustNameKeyWithNamespace(kind, namespace, name string, parent *datastore.Key) *datastore.Key
- func NameKeyWithNamespace(kind, namespace, name string, parent *datastore.Key) (*datastore.Key, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IDKeyWithNamespace ¶
func IDKeyWithNamespace(kind, namespace string, id int64, parent *datastore.Key) (*datastore.Key, error)
IDKeyWithNamespace creates a new key with an ID. The supplied kind cannot be empty. The supplied parent must either be a complete key or nil. The namespace of the new key can be empty.
func IncompleteKeyWithNamespace ¶
func IncompleteKeyWithNamespace(kind, namespace string, parent *datastore.Key) (*datastore.Key, error)
IncompleteKeyWithNamespace creates a new incomplete key. The supplied kind cannot be empty. The namespace of the new key can be empty.
func MustIDKeyWithNamespace ¶
MustIDKeyWithNamespace creates a new key with an ID and panics on error.
func MustIncompleteKeyWithNamespace ¶
MustIncompleteKeyWithNamespace creates a new incomplete key and panics on error.
func MustNameKeyWithNamespace ¶
MustNameKeyWithNamespace creates a new key with a name and panics on error.
func NameKeyWithNamespace ¶
func NameKeyWithNamespace(kind, namespace, name string, parent *datastore.Key) (*datastore.Key, error)
NameKeyWithNamespace creates a new key with a name. The supplied kind cannot be empty. The supplied parent must either be a complete key or nil. The namespace of the new key can be empty.
Types ¶
This section is empty.