Documentation ¶
Overview ¶
Package tagDemand "Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any 7ne will do. The package comment should introduce the package and provide information relevant to the package as a whole. It will appear first on the godoc page and should set up the detailed documentation that follows."
Index ¶
- func GetKeysByDemandOrTagKey(ctx context.Context, key *datastore.Key) ([]*datastore.Key, error)
- func GetKeysParentsFilteredByTagKeyLimited(ctx context.Context, kt *datastore.Key, lim int) ([]*datastore.Key, string, string, error)
- func GetNextKeysParentsFilteredByTagKeyLimited(ctx context.Context, crsrAsString string, kt *datastore.Key, lim int) ([]*datastore.Key, string, error)
- func GetPrevKeysParentsFilteredByTagKey(ctx context.Context, crsrAsString string, kt *datastore.Key) ([]*datastore.Key, string, error)
- type TagDemand
- type TagDemands
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeysByDemandOrTagKey ¶
GetKeysByDemandOrTagKey returns the demand keys as a slice if the tag key is provided or returns the tag keys as a slice if demand key is provided and also an error.
func GetKeysParentsFilteredByTagKeyLimited ¶
func GetKeysParentsFilteredByTagKeyLimited(ctx context.Context, kt *datastore.Key, lim int) ( []*datastore.Key, string, string, error)
GetKeysParentsFilteredByTagKeyLimited returns limited number of the key's parent key from the begining of the kind with given filter and order starting and ending cursors as string and also an error. ADD LOCATION FILTER HERE AND USE ACCOUNTS ADDRES INFO.
func GetNextKeysParentsFilteredByTagKeyLimited ¶
func GetNextKeysParentsFilteredByTagKeyLimited(ctx context.Context, crsrAsString string, kt *datastore.Key, lim int) ([]*datastore.Key, string, error)
GetNextKeysParentsFilteredByTagKeyLimited returns limited number of the key's parent key from the previous end point with given filter and order. And also an error.
ADD LOCATION FILTER HERE AND USE ACCOUNTS ADDRES INFO.
func GetPrevKeysParentsFilteredByTagKey ¶
func GetPrevKeysParentsFilteredByTagKey(ctx context.Context, crsrAsString string, kt *datastore.Key) ([]*datastore.Key, string, error)
GetPrevKeysParentsFilteredByTagKey returns the key's parent key from the begining to the previous start point with given filter and order. And also an error.
ADD LOCATION FILTER HERE AND USE ACCOUNTS ADDRES INFO.