entry

package
v0.0.0-...-ac8b700 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ByFrecency

type ByFrecency []*Entry

func (ByFrecency) Len

func (e ByFrecency) Len() int

func (ByFrecency) Less

func (e ByFrecency) Less(i, j int) bool

func (ByFrecency) Swap

func (e ByFrecency) Swap(i, j int)

type ByPath

type ByPath []*Entry

func (ByPath) Len

func (e ByPath) Len() int

func (ByPath) Less

func (e ByPath) Less(i, j int) bool

func (ByPath) Swap

func (e ByPath) Swap(i, j int)

type Entries

type Entries []*Entry

func (Entries) Filter

func (e Entries) Filter(f func(*Entry) bool) Entries

func (Entries) Map

func (e Entries) Map(f func(*Entry) interface{}) Entries

type Entry

type Entry struct {
	Path         string
	VisitedCount int
	LastVisited  int
}

Jump to

Keyboard shortcuts

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