history

package
v1.0.0-rc.88 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Path = filepath.Join(utils.CacheDir(), "history.json")

Functions

This section is empty.

Types

type History

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

func Load

func Load(historyPath string) (History, error)

func (History) Save

func (h History) Save() error

func (History) Sort

func (h History) Sort(items []types.ListItem)

func (History) Update

func (h History) Update(key string)

Jump to

Keyboard shortcuts

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