Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringValue ¶
StringValue returns the string from a string pointer v.
Types ¶
type Completion ¶
Completion completes the given key
func CompletionOf ¶
func CompletionOf(client *datastore.Client, key *datastore.Key) *Completion
CompletionOf returns the completion
type IndexMapper ¶
IndexMapper represents the indexer
type Indexer ¶
type Indexer interface {
Index(tx *datastore.Transaction) error
}
Indexer represents an entity indexer
func NewDeleteIndexer ¶
NewDeleteIndexer represents an upsert check
func NewInsertIndexer ¶
NewInsertIndexer represents an insert indexer
func NewUpdateIndexer ¶
NewUpdateIndexer represents an update indexer
func NewUpsertIndexer ¶
NewUpsertIndexer represents an update indexer
type IndexerFunc ¶
type IndexerFunc func(tx *datastore.Transaction) error
IndexerFunc represents a checker func
func (IndexerFunc) Index ¶
func (fn IndexerFunc) Index(tx *datastore.Transaction) error
Index indexes the record
Click to show internal directories.
Click to hide internal directories.