record

package
v0.0.0-...-ddd92f3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: GPL-3.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EOF = errors.New("EOF")

Functions

This section is empty.

Types

type Record

type Record struct {
	sync.Mutex

	Head    []byte  `json:"head"`
	Patches []patch `json:"states"`
	// contains filtered or unexported fields
}

func Load

func Load(fileName string) (*Record, error)

func New

func New() (*Record, error)

func (*Record) Add

func (r *Record) Add(v interface{}) error

func (*Record) CurrentFrameIndex

func (r *Record) CurrentFrameIndex() int

func (*Record) First

func (r *Record) First(v interface{}) error

func (*Record) Last

func (r *Record) Last(v interface{}) error

func (*Record) Next

func (r *Record) Next(v interface{}) error

func (*Record) Progress

func (r *Record) Progress() float64

func (*Record) Reset

func (r *Record) Reset()

func (*Record) Save

func (r *Record) Save(fileName string) error

func (*Record) TotalFrames

func (r *Record) TotalFrames() int

Jump to

Keyboard shortcuts

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