history

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash added in v0.0.50

type Hash string

type History

type History HistoryMap

func Get

func Get() History

func (History) Save added in v0.0.27

func (s History) Save(hash string, prefix string)

type HistoryEntry added in v0.0.41

type HistoryEntry struct {
	LastUsed      time.Time `json:"last_used,omitempty"`
	Used          int       `json:"used,omitempty"`
	DaysSinceUsed int       `json:"-"`
}

type HistoryMap added in v0.0.50

type HistoryMap map[string]map[string]HistoryEntry

type Prefix added in v0.0.50

type Prefix string

Jump to

Keyboard shortcuts

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