Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortBookmarks ¶
func WriteBookmarks ¶
func WriteGroups ¶ added in v0.3.0
Types ¶
type Bookmark ¶
type Bookmark struct {
Name string `json:"name"`
Target string `json:"target"`
Type string `json:"type"`
Tags []string `json:"tags"`
Args []string `json:"args,omitempty"`
CreatedAt string `json:"created_at"`
Note string `json:"note,omitempty"`
Pinned bool `json:"pinned,omitempty"`
LastAccessed string `json:"last_accessed,omitempty"`
AccessCount int `json:"access_count,omitempty"`
}
func ReadBookmarks ¶
func SearchByTag ¶
func SelectCandidate ¶
type Group ¶ added in v0.3.0
type Group struct {
Name string `json:"name"`
Bookmarks []string `json:"bookmarks"`
CreatedAt string `json:"created_at"`
}
func ReadGroups ¶ added in v0.3.0
type MatchResult ¶
func GetClosestMatch ¶
func GetClosestMatch(bookmarks []Bookmark, query string) MatchResult
Click to show internal directories.
Click to hide internal directories.