tags

package
v0.0.0-...-cbaa3f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetItems

func GetItems(db *gorp.DbMap, tagId int64, itemType string) []int64

func SetForItem

func SetForItem(db *gorp.DbMap, tagId, itemId int64, itemType string) error

Types

type Tag

type Tag struct {
	Id          int64
	Title       string
	Description string
	ImgId       int64

	Owner int64

	Created int64
	Deleted int64
	Updated int64
	Version int64
}

func Get

func Get(db *gorp.DbMap, id int64) Tag

func GetForItem

func GetForItem(db *gorp.DbMap, itemId int64, itemType string) []Tag

func MustGet

func MustGet(db *gorp.DbMap, name string) (Tag, bool)

type Tags

type Tags struct {
	Id       int64
	ItemId   int64
	ItemType string
}

Jump to

Keyboard shortcuts

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