tags

package
v0.0.0-...-4ecb35b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindKeysByTag

func FindKeysByTag(c context.Context, tag, tagType string, parentKey *datastore.Key, offset, limit int) ([]*datastore.Key, error)

FindKeysByTag returns a list of all the tag's parent datastore keys

func Save

func Save(c context.Context, rawTags []string, tagType string, parentKey *datastore.Key) (int, int, error)

Save saves the tag items with the parent relation

Types

type Tag

type Tag struct {
	ae.Model
	Value string
	Type  string
}

Tag allows better searching capabilities with AppEngine's Datastore

func (*Tag) Load

func (t *Tag) Load(ps []datastore.Property) error

Load toy

func (*Tag) Save

func (t *Tag) Save() ([]datastore.Property, error)

Save toy

Jump to

Keyboard shortcuts

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