Documentation ¶ Index ¶ type History func NewHistory() *History func (h *History) Add(input string) *History func (h *History) GetAll() map[int]string func (h *History) GetCursor() int func (h *History) GetNext() *string func (h *History) GetPrevious() *string func (h *History) Reset() *History 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 Source Files ¶ View all Source files history.go Click to show internal directories. Click to hide internal directories.