history

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type History

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

func NewHistory

func NewHistory() *History

func (*History) Add

func (h *History) Add(input string) *History

func (*History) GetAll

func (h *History) GetAll() map[int]string

func (*History) GetCursor

func (h *History) GetCursor() int

func (*History) GetNext

func (h *History) GetNext() *string

func (*History) GetPrevious

func (h *History) GetPrevious() *string

func (*History) Reset

func (h *History) Reset() *History

Jump to

Keyboard shortcuts

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