model

package
v0.0.0-...-4005233 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignTagById

func AssignTagById(request entity.TagAssignationRequest) (*entity.AssignedTag, error)

func CreateBookmark

func CreateBookmark(request entity.BookmarkCreationRequest) (*entity.Bookmark, error)

func DeleteBookmarkById

func DeleteBookmarkById(id uint64) error

func DeleteTagById

func DeleteTagById(id uint64) error

func DeleteTagByLabel

func DeleteTagByLabel(label string) error

func GetBookmarkById

func GetBookmarkById(id uint64) (entity.Bookmark, error)

func GetOrCreateTag

func GetOrCreateTag(request entity.TagCreationRequest) (*entity.Tag, error)

func GetTagById

func GetTagById(id uint64) (entity.Tag, error)

func ListBookmarks

func ListBookmarks(tagNames []string) ([]entity.Bookmark, error)

func ListTags

func ListTags() ([]entity.Tag, error)

func UnassignTagById

func UnassignTagById(request entity.TagAssignationRequest) error

func UnassignTagByLabel

func UnassignTagByLabel(request entity.TagAssignationByLabelRequest) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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