bookmark

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bookmark

type Bookmark struct {
	Categories *[]entity.Category
	Path       string
}

func NewBookmark

func NewBookmark() Bookmark

NewBookmark is used to create a new bookmark object

func (*Bookmark) LoadBookmarks

func (b *Bookmark) LoadBookmarks() error

LoadBookmarks is used to load bookmarks from bookmark file

func (*Bookmark) MigrateBookmark

func (b *Bookmark) MigrateBookmark() error

MigrateBookmark is used to move the old bookmark file location (same as binary folder) to the OS default config folder

func (*Bookmark) SaveBookmark

func (b *Bookmark) SaveBookmark() error

SaveBookmark is used to save the bookmark object to file by encoding the object with JSON.

Jump to

Keyboard shortcuts

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