readingtag

package
v0.0.0-...-497b9c9 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncludesUint64

func IncludesUint64(array []uint64, lookup uint64) bool

IncludesUint64 checks in an array includes given uint64

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App of package

func New

func New(db *sql.DB, tagService *tag.App) *App

New creates new App

func (App) EnrichReadingWithTags

func (a App) EnrichReadingWithTags(o *model.Reading) error

EnrichReadingWithTags update given reading with tags data

func (App) EnrichReadingsWithTags

func (a App) EnrichReadingsWithTags(readings []*model.Reading) error

EnrichReadingsWithTags update given reading with tags data

func (App) SaveTagsForReading

func (a App) SaveTagsForReading(o *model.Reading, tx *sql.Tx) (err error)

SaveTagsForReading update tags' link for given reading

Jump to

Keyboard shortcuts

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