tagUser

package
v0.0.0-...-0e3259e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 2 Imported by: 6

Documentation

Overview

Package tagUser "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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeys

func GetKeys(ctx context.Context, key *datastore.Key) ([]*datastore.Key, error)

GetKeys returns the tagUser keys by user or tag key and an error.

func GetKeysByUserOrTagKey

func GetKeysByUserOrTagKey(ctx context.Context, key *datastore.Key) (
	[]*datastore.Key, error)

GetKeysByUserOrTagKey returns the user keys as a slice if the tag key is provided or returns the tag keys as a slice if user key is provided and also an error.

Types

type TagUser

type TagUser struct {
	TagKey *datastore.Key
}

TagUser datastore: ",noindex" causes json naming problems !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Encoded tag key is key's stringID and user key is the parent key.

type TagUsers

type TagUsers []*TagUser

TagUsers is a []*TagUser

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL