usertags

package
v0.0.0-...-6dfde0d Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoTags = errors.New("No user tags found for this content")
)

Functions

func Extract

func Extract(r Usertagger, db *gorm.DB, pushClient *apns.Client) error

Types

type Usertagger

type Usertagger interface {
	GetID() string
	GetUserID() string
	GetType() string
	GetContent() string
}

Usertagger is an interface for records that can be tagged with a username

Jump to

Keyboard shortcuts

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