Documentation ¶
Overview ¶
Package tagServicePack "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 GetKeysByServicePackOrTagKey(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 TagServicePack
- type TagServicePacks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeysByServicePackOrTagKey ¶
func GetKeysByServicePackOrTagKey(ctx context.Context, key *datastore.Key) ( []*datastore.Key, error)
GetKeysByServicePackOrTagKey returns the servicePack keys as a slice if the tag key is provided or returns the tag keys as a slice if servicePack 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.
Types ¶
type TagServicePack ¶
TagServicePack datastore: ",noindex" causes json naming problems !!!!!!!!!!!!!!!!!!!!!!!!!!!! Encoded tag key is key's stringID and servicePack key is the parent key.
func GetDistinctLatestLimited ¶
func GetDistinctLatestLimited(ctx context.Context, lim int) ([]TagServicePack, error)
GetDistinctLatestLimited returns distinct entities from limited results and also an error.
type TagServicePacks ¶
type TagServicePacks []*TagServicePack
TagServicePacks is a []*TagServicePack