Back to

package ops

v0.0.0 (278e9bc)
Latest Go to latest
Published: Jun 3, 2020 | Licenses: MIT, Unlicense | Module:


func DecodeTransformOp

func DecodeTransformOp(d []byte) op.TransformOp

type EncodedOp

type EncodedOp struct {
	Key  Key
	Data []byte
	Refs []interface{}

EncodedOp represents an encoded op returned by Reader.

type Key

type Key struct {
	// contains filtered or unexported fields

Key is a unique key for a given op.

type Reader

type Reader struct {
	// contains filtered or unexported fields

Reader parses an ops list.

func (*Reader) Decode

func (r *Reader) Decode() (EncodedOp, bool)

func (*Reader) Reset

func (r *Reader) Reset(ops *op.Ops)

Reset start reading from the op list.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier