history

package
v0.0.0-...-f6814a1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Time time.Time
	Text string
}

func (*Item) String

func (item *Item) String() string

type Recorder

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

func NewRecorder

func NewRecorder() *Recorder

func (Recorder) Close

func (r Recorder) Close() error

func (*Recorder) Delete

func (r *Recorder) Delete(index int) bool

func (*Recorder) IsDiffEnable

func (r *Recorder) IsDiffEnable() bool

func (*Recorder) Items

func (r *Recorder) Items() []Item

func (*Recorder) Load

func (r *Recorder) Load() error

func (*Recorder) LogDiff

func (r *Recorder) LogDiff(diff string)

func (*Recorder) Open

func (r *Recorder) Open() error

func (*Recorder) Record

func (r *Recorder) Record(now time.Time, text string)

func (*Recorder) Resort

func (r *Recorder) Resort()

func (*Recorder) SetDiff

func (r *Recorder) SetDiff(diff *os.File)

Jump to

Keyboard shortcuts

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