bookmarks

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v1.9.0

func Add(url, name string)

Add will add a new bookmark.

func All

func All() ([]string, []string)

All returns all the bookmarks, as two arrays, one for names and one for URLs. They are sorted alphabetically.

func Change added in v1.9.0

func Change(url, name string)

Change the name of the bookmark at the provided URL.

func Get

func Get(url string) (string, bool)

Get returns the NAME of the bookmark, given the URL. It also returns a bool indicating whether it exists.

func Init added in v1.9.0

func Init() error

func Remove

func Remove(url string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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