history

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 3 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 {
	Messages []string `json:"messages"`
	// contains filtered or unexported fields
}

func New

func New() (*History, error)

func (*History) Add

func (h *History) Add(message string) error

func (*History) Next

func (h *History) Next() string

func (*History) Previous

func (h *History) Previous() string

Jump to

Keyboard shortcuts

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