history

package
v0.0.0-...-0d6b64a Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 1 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 {
	Defv interface{}
	// contains filtered or unexported fields
}

func Make

func Make(defv interface{}) History

func New

func New(defv interface{}) *History

func (*History) AtBegin

func (h *History) AtBegin() bool

func (*History) AtEnd

func (h *History) AtEnd() bool

func (*History) Back

func (h *History) Back() (interface{}, error)

func (*History) Clear

func (h *History) Clear()

func (*History) Empty

func (h *History) Empty() bool

func (*History) Forward

func (h *History) Forward() (interface{}, error)

func (*History) Get

func (h *History) Get() interface{}

func (*History) Index

func (h *History) Index() int

func (*History) Len

func (h *History) Len() int

func (*History) Reset

func (h *History) Reset()

func (*History) Set

func (h *History) Set(val interface{})

Jump to

Keyboard shortcuts

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